pwd copy to clipboard
This commit is contained in:
parent
e3417b6594
commit
bb8a7678be
3 changed files with 3 additions and 0 deletions
1
.config/fish/conf.d/alias_arch.fish
Normal file
1
.config/fish/conf.d/alias_arch.fish
Normal file
|
@ -0,0 +1 @@
|
||||||
|
alias pwd "pwd | tee /dev/tty | xclip -selection clipboard"
|
|
@ -1 +1,2 @@
|
||||||
|
alias pwd "pwd | tee /dev/tty | clip.exe"
|
||||||
alias wpwd "echo \"\\\\\wsl.localhost\\Arch\$(pwd | tr / \\\\ 2> /dev/null)\" | tee /dev/tty | clip.exe"
|
alias wpwd "echo \"\\\\\wsl.localhost\\Arch\$(pwd | tr / \\\\ 2> /dev/null)\" | tee /dev/tty | clip.exe"
|
||||||
|
|
1
Makefile
1
Makefile
|
@ -105,6 +105,7 @@ sync-arch:
|
||||||
|
|
||||||
# Fish
|
# 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
|
||||||
|
@$(CURL) $(REPO_SRC)/.config/fish/conf.d/alias_arch.fish >> $(HOME)/.config/fish/conf.d/alias.fish
|
||||||
@echo "Fish specific settings synced!"
|
@echo "Fish specific settings synced!"
|
||||||
@echo
|
@echo
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue