change logic of config.fish backup
This commit is contained in:
parent
8fbc3159ce
commit
e361c82932
4 changed files with 8 additions and 7 deletions
5
.config/fish/config.fish
Normal file
5
.config/fish/config.fish
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# SSH
|
||||||
|
fish_ssh_agent
|
||||||
|
|
||||||
|
# Opam integration
|
||||||
|
source /home/anri/.opam/opam-init/init.fish > /dev/null 2> /dev/null; or true
|
|
@ -1,2 +0,0 @@
|
||||||
# SSH
|
|
||||||
fish_ssh_agent
|
|
|
@ -1,5 +1,2 @@
|
||||||
# NAS
|
# NAS
|
||||||
sudo mount -t drvfs 'Y:' /mnt/y -o metadata,uid=1000,gid=1000
|
sudo mount -t drvfs 'Y:' /mnt/y -o metadata,uid=1000,gid=1000
|
||||||
|
|
||||||
# SSH
|
|
||||||
fish_ssh_agent
|
|
||||||
|
|
5
Makefile
5
Makefile
|
@ -47,6 +47,8 @@ sync-dotconfig:
|
||||||
@mkdir -p $(HOME)/.config/fish/conf.d
|
@mkdir -p $(HOME)/.config/fish/conf.d
|
||||||
@mkdir -p $(HOME)/.config/fish/functions
|
@mkdir -p $(HOME)/.config/fish/functions
|
||||||
|
|
||||||
|
@$(WGET) $(REPO_SRC)/.config/fish/config.fish -O $(HOME)/.config/fish/config.fish
|
||||||
|
|
||||||
@$(WGET) $(REPO_SRC)/.config/fish/functions/fish_prompt.fish -O $(HOME)/.config/fish/functions/fish_prompt.fish
|
@$(WGET) $(REPO_SRC)/.config/fish/functions/fish_prompt.fish -O $(HOME)/.config/fish/functions/fish_prompt.fish
|
||||||
@$(WGET) $(REPO_SRC)/.config/fish/functions/makeaway.fish -O $(HOME)/.config/fish/functions/makeaway.fish
|
@$(WGET) $(REPO_SRC)/.config/fish/functions/makeaway.fish -O $(HOME)/.config/fish/functions/makeaway.fish
|
||||||
@$(WGET) $(REPO_SRC)/.config/fish/functions/ssh-export.fish -O $(HOME)/.config/fish/functions/ssh-export.fish
|
@$(WGET) $(REPO_SRC)/.config/fish/functions/ssh-export.fish -O $(HOME)/.config/fish/functions/ssh-export.fish
|
||||||
|
@ -97,7 +99,6 @@ sync-arch:
|
||||||
@echo
|
@echo
|
||||||
|
|
||||||
# Fish
|
# Fish
|
||||||
@$(WGET) $(REPO_SRC)/.config/fish/config_arch.fish -O $(HOME)/.config/fish/config.fish
|
|
||||||
@$(WGET) $(REPO_SRC)/.config/fish/conf.d/abbr.fish -O $(HOME)/.config/fish/conf.d/abbr.fish
|
@$(WGET) $(REPO_SRC)/.config/fish/conf.d/abbr.fish -O $(HOME)/.config/fish/conf.d/abbr.fish
|
||||||
@$(CURL) $(REPO_SRC)/.config/fish/conf.d/abbr_arch.fish >> $(HOME)/.config/fish/conf.d/abbr.fish
|
@$(CURL) $(REPO_SRC)/.config/fish/conf.d/abbr_arch.fish >> $(HOME)/.config/fish/conf.d/abbr.fish
|
||||||
@echo "Fish specific settings synced!"
|
@echo "Fish specific settings synced!"
|
||||||
|
@ -135,7 +136,7 @@ sync-arch:
|
||||||
# Windows Subsystem for Linux specific
|
# Windows Subsystem for Linux specific
|
||||||
sync-wsl:
|
sync-wsl:
|
||||||
# Fish
|
# Fish
|
||||||
@$(WGET) $(REPO_SRC)/.config/fish/config_wsl.fish -O $(HOME)/.config/fish/config.fish
|
@$(CURL) $(REPO_SRC)/.config/fish/config_wsl.fish >> $(HOME)/.config/fish/config.fish
|
||||||
@$(CURL) $(REPO_SRC)/.config/fish/conf.d/abbr_wsl.fish >> $(HOME)/.config/fish/conf.d/abbr.fish
|
@$(CURL) $(REPO_SRC)/.config/fish/conf.d/abbr_wsl.fish >> $(HOME)/.config/fish/conf.d/abbr.fish
|
||||||
@$(CURL) $(REPO_SRC)/.config/fish/conf.d/alias_wsl.fish >> $(HOME)/.config/fish/conf.d/alias.fish
|
@$(CURL) $(REPO_SRC)/.config/fish/conf.d/alias_wsl.fish >> $(HOME)/.config/fish/conf.d/alias.fish
|
||||||
@echo "Fish specific settings synced!"
|
@echo "Fish specific settings synced!"
|
||||||
|
|
Loading…
Reference in a new issue