don't fail on dir creation
This commit is contained in:
parent
115326aced
commit
bd3dafef03
2 changed files with 12 additions and 12 deletions
8
arch.sh
8
arch.sh
|
@ -79,7 +79,7 @@ main() {
|
|||
fish -c "fisher install jorgebucaran/autopair.fish"
|
||||
# SSH
|
||||
wget -q https://gitlab.com/kyb/fish_ssh_agent/raw/master/functions/fish_ssh_agent.fish -P "$HOME"/.config/fish/functions/
|
||||
mkdir "$HOME"/.ssh
|
||||
mkdir -p "$HOME"/.ssh
|
||||
# Custom config.fish
|
||||
wget -q ${repo}/.config/fish/config_arch.fish -O "$HOME"/.config/fish/config.fish
|
||||
# Fish theme
|
||||
|
@ -123,7 +123,7 @@ main() {
|
|||
fish -c "set -Ux EDITOR nano"
|
||||
|
||||
# === Micro configuration ==
|
||||
mkdir "$HOME"/.config/micro
|
||||
mkdir -p "$HOME"/.config/micro
|
||||
wget -q --show-progress ${repo}/.config/micro/settings.json -O "$HOME"/.config/micro/settings.json
|
||||
micro -plugin install detectindent
|
||||
|
||||
|
@ -328,7 +328,7 @@ main() {
|
|||
fish -c "set -Ux MANROFFOPT \"-c\""
|
||||
|
||||
# === Bat config ==
|
||||
mkdir "$HOME"/.config/bat
|
||||
mkdir -p "$HOME"/.config/bat
|
||||
wget -q --show-progress ${repo}/.config/bat/config -O "$HOME"/.config/bat/config
|
||||
|
||||
# === Docker ==
|
||||
|
@ -362,7 +362,7 @@ main() {
|
|||
|
||||
# === Python ==
|
||||
# Add PIP packages from Python to the path
|
||||
mkdir "$HOME"/.local/bin
|
||||
mkdir -p "$HOME"/.local/bin
|
||||
fish -c "fish_add_path /home/anri/.local/bin | true"
|
||||
|
||||
# === OCaml ==
|
||||
|
|
16
arch_wsl.sh
16
arch_wsl.sh
|
@ -78,7 +78,7 @@ main() {
|
|||
cargo install cargo-update cargo-cache
|
||||
|
||||
# === Set-up systemd
|
||||
mkdir subsystemctl
|
||||
mkdir -p subsystemctl
|
||||
cd subsystemctl || exit
|
||||
curl -so PKGBUILD https://raw.githubusercontent.com/sorah/arch.sorah.jp/master/aur-sorah/PKGBUILDs/subsystemctl/PKGBUILD
|
||||
makepkg -si --noconfirm
|
||||
|
@ -92,7 +92,7 @@ main() {
|
|||
subsystemctl exec sudo localectl set-locale fr_FR.UTF-8
|
||||
|
||||
# === Shared folders ==
|
||||
sudo mkdir /mnt/y
|
||||
sudo mkdir -p /mnt/y
|
||||
|
||||
# === Fish ==
|
||||
# Remove motd
|
||||
|
@ -103,7 +103,7 @@ main() {
|
|||
fish -c "fisher install jorgebucaran/autopair.fish"
|
||||
# SSH
|
||||
wget -q https://gitlab.com/kyb/fish_ssh_agent/raw/master/functions/fish_ssh_agent.fish -P "$HOME"/.config/fish/functions/
|
||||
mkdir "$HOME"/.ssh
|
||||
mkdir -p "$HOME"/.ssh
|
||||
# Custom config.fish
|
||||
wget -q ${repo}/.config/fish/config_wsl.fish -O "$HOME"/.config/fish/config.fish
|
||||
# Fish theme
|
||||
|
@ -124,7 +124,7 @@ main() {
|
|||
fish -c "set -Ux EDITOR nano"
|
||||
|
||||
# === Micro configuration ==
|
||||
mkdir "$HOME"/.config/micro
|
||||
mkdir -p "$HOME"/.config/micro
|
||||
wget -q --show-progress ${repo}/.config/micro/settings.json -O "$HOME"/.config/micro/settings.json
|
||||
micro -plugin install detectindent
|
||||
|
||||
|
@ -164,7 +164,7 @@ main() {
|
|||
|
||||
# === Python ==
|
||||
# Add PIP packages from Python
|
||||
mkdir "$HOME"/.local/bin
|
||||
mkdir -p "$HOME"/.local/bin
|
||||
fish -c "fish_add_path $HOME/.local/bin | true"
|
||||
|
||||
# === OCaml ==
|
||||
|
@ -187,7 +187,7 @@ main() {
|
|||
fish -c "set -Ux DEBUGINFOD_URLS https://debuginfod.archlinux.org"
|
||||
|
||||
# === Unison ==
|
||||
mkdir "$HOME"/.unison
|
||||
mkdir -p "$HOME"/.unison
|
||||
wget -q ${repo}/.unison/default.prf -O "$HOME"/.unison/default.prf
|
||||
|
||||
# === Perl ==
|
||||
|
@ -195,8 +195,8 @@ main() {
|
|||
fish -c "fish_add_path /usr/bin/vendor_perl | true"
|
||||
|
||||
# === Emacs ==
|
||||
mkdir "$HOME"/.emacs.d
|
||||
wget -q ${repo}/.emacs.d/init.el -O "$HOME"/.emacs.d/init.el
|
||||
# mkdir -p "$HOME"/.emacs.d
|
||||
# wget -q ${repo}/.emacs.d/init.el -O "$HOME"/.emacs.d/init.el
|
||||
|
||||
# === Bash VSCode fix ==
|
||||
curl -s ${repo}/dotfiles/.bashrc >> "$HOME"/.bashrc
|
||||
|
|
Loading…
Reference in a new issue