From 83f593715c3ea431bf7ad4a4ad0319ac68f2188e Mon Sep 17 00:00:00 2001 From: Pavel Egorov Date: Wed, 21 May 2025 17:59:51 +0300 Subject: [fish] extract config.fish into separate files in conf.d --- .config/fish/conf.d/abbr.fish | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .config/fish/conf.d/abbr.fish (limited to '.config/fish/conf.d/abbr.fish') diff --git a/.config/fish/conf.d/abbr.fish b/.config/fish/conf.d/abbr.fish new file mode 100644 index 0000000..55f0048 --- /dev/null +++ b/.config/fish/conf.d/abbr.fish @@ -0,0 +1,15 @@ +# Dotfiles helper +abbr --add dotfiles "git --git-dir=\"$HOME/.config/dotfiles/\" --work-tree=\"$HOME\"" + +# Git +abbr --add gs "git status" +abbr --add ga "git add" +abbr --add gco "git checkout" + +# ls & alternatives +abbr --add ls "eza -lAb --git --git-repos" + +# Added proxy flags +set SSPROXY 'socks5://localhost:1080' +abbr --add curlss "curl --proxy=$SSPROXY" +abbr --add ytdlpss "yt-dlp --proxy=$SSPROXY" -- cgit v1.3