pwd copy to clipboard

This commit is contained in:
Mylloon 2023-11-07 15:36:30 +01:00
parent e3417b6594
commit bb8a7678be
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 3 additions and 0 deletions

View file

@ -0,0 +1 @@
alias pwd "pwd | tee /dev/tty | xclip -selection clipboard"

View file

@ -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"

View file

@ -105,6 +105,7 @@ sync-arch:
# 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