diff --git a/private_dot_config/private_fish/config.fish b/private_dot_config/private_fish/config.fish index 1715396..a1ffa8e 100644 --- a/private_dot_config/private_fish/config.fish +++ b/private_dot_config/private_fish/config.fish @@ -32,6 +32,7 @@ alias l "ls -la" alias lll "ls -latr" alias lg "lazygit" alias z j + # abbreviations abbr lsn littlesnitch abbr nv nvim @@ -71,24 +72,28 @@ function conda micromamba $argv end -if [ -e /opt/homebrew/bin/micromamba ]; - +if [ -e /opt/homebrew/bin/micromamba ] # >>> mamba initialize >>> -# !! Contents within this block are managed by 'mamba init' !! -set -gx MAMBA_EXE "/opt/homebrew/bin/micromamba" -set -gx MAMBA_ROOT_PREFIX "/Users/anton/micromamba" -$MAMBA_EXE shell hook --shell fish --root-prefix $MAMBA_ROOT_PREFIX | source -# <<< mamba initialize <<< - + # !! Contents within this block are managed by 'mamba init' !! + set -gx MAMBA_EXE "/opt/homebrew/bin/micromamba" + set -gx MAMBA_ROOT_PREFIX "/Users/anton/micromamba" + $MAMBA_EXE shell hook --shell fish --root-prefix $MAMBA_ROOT_PREFIX | source + # <<< mamba initialize <<< end -if [ -e /home/anton/.nix-profile/etc/profile.d/nix.fish ]; . /home/anton/.nix-profile/etc/profile.d/nix.fish; end +if [ -e /home/anton/.nix-profile/etc/profile.d/nix.fish ]; + source /home/anton/.nix-profile/etc/profile.d/nix.fish; +end # The next line updates PATH for the Google Cloud SDK. -if [ -f "/Users/anton/dev/google-cloud-sdk/path.fish.inc" ] - . "/Users/anton/dev/google-cloud-sdk/path.fish.inc" +if [ -f ~/dev/google-cloud-sdk/path.fish.inc ] + source ~/dev/google-cloud-sdk/path.fish.inc end -direnv hook fish | source -if [ -f '~/.config/op/plugins.sh' ]; source ~/.config/op/plugins.sh; end +direnv hook fish | source +if [ -f ~/.config/op/plugins.sh ] + source ~/.config/op/plugins.sh +end + +fish_vi_key_bindings