diff options
| author | Pavel Egorov <[email protected]> | 2025-05-21 17:59:51 +0300 |
|---|---|---|
| committer | Pavel Egorov <[email protected]> | 2025-06-06 02:44:55 +0300 |
| commit | 83f593715c3ea431bf7ad4a4ad0319ac68f2188e (patch) | |
| tree | a60499e236127e295b0fd78538cf63696646f0af /.config/fish/conf.d | |
| parent | e8d0ce64d3791ccb255b54e005190c17ba9cf99f (diff) | |
| download | dotfiles-83f593715c3ea431bf7ad4a4ad0319ac68f2188e.tar.gz dotfiles-83f593715c3ea431bf7ad4a4ad0319ac68f2188e.zip | |
[fish] extract config.fish into separate files in conf.d
Diffstat (limited to '')
| -rw-r--r-- | .config/fish/conf.d/abbr.fish | 15 | ||||
| -rw-r--r-- | .config/fish/conf.d/env.fish | 1 | ||||
| -rw-r--r-- | .config/fish/conf.d/js.fish | 1 | ||||
| -rw-r--r-- | .config/fish/conf.d/python.fish | 1 |
4 files changed, 18 insertions, 0 deletions
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 @@ | |||
| 1 | # Dotfiles helper | ||
| 2 | abbr --add dotfiles "git --git-dir=\"$HOME/.config/dotfiles/\" --work-tree=\"$HOME\"" | ||
| 3 | |||
| 4 | # Git | ||
| 5 | abbr --add gs "git status" | ||
| 6 | abbr --add ga "git add" | ||
| 7 | abbr --add gco "git checkout" | ||
| 8 | |||
| 9 | # ls & alternatives | ||
| 10 | abbr --add ls "eza -lAb --git --git-repos" | ||
| 11 | |||
| 12 | # Added proxy flags | ||
| 13 | set SSPROXY 'socks5://localhost:1080' | ||
| 14 | abbr --add curlss "curl --proxy=$SSPROXY" | ||
| 15 | abbr --add ytdlpss "yt-dlp --proxy=$SSPROXY" | ||
diff --git a/.config/fish/conf.d/env.fish b/.config/fish/conf.d/env.fish new file mode 100644 index 0000000..86399b8 --- /dev/null +++ b/.config/fish/conf.d/env.fish | |||
| @@ -0,0 +1 @@ | |||
| set -x MANPAGER 'nvim +Man!' | |||
diff --git a/.config/fish/conf.d/js.fish b/.config/fish/conf.d/js.fish new file mode 100644 index 0000000..dab58c6 --- /dev/null +++ b/.config/fish/conf.d/js.fish | |||
| @@ -0,0 +1 @@ | |||
| fnm env --use-on-cd --shell fish | source | |||
diff --git a/.config/fish/conf.d/python.fish b/.config/fish/conf.d/python.fish new file mode 100644 index 0000000..54f931f --- /dev/null +++ b/.config/fish/conf.d/python.fish | |||
| @@ -0,0 +1 @@ | |||
| pyenv init - | source | |||
