confOS/.config/fish/conf.d/abbr_wsl.fish

11 lines
486 B
Fish

abbr d "explorer.exe \$(wslpath -w .)"
abbr unison "unison ~/src ~/u_dest"
abbr vs "code ."
abbr wgcc x86_64-w64-mingw32-gcc
abbr rm "rm -rf"
abbr catall "catall . '*.ext1' '*.ext2' | clip.exe"
abbr ll "eza --git -gl"
abbr la "eza --git -gla"
abbr pdf "'/mnt/c/Program Files/Mozilla Firefox/firefox.exe' (for f in *.pdf; echo "file:///"(wslpath -m .)/\$f; end)"
abbr zfind "find * -type f -name '*:Zone.Identifier' -ok rm {} \;"
abbr beep "powershell.exe -c '[console]::beep(200,300)'"