aboutsummaryrefslogtreecommitdiff
path: root/.config/fish/config.fish
diff options
context:
space:
mode:
Diffstat (limited to '.config/fish/config.fish')
-rw-r--r--.config/fish/config.fish75
1 files changed, 37 insertions, 38 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
index 63b9a73..3e2fb0e 100644
--- a/.config/fish/config.fish
+++ b/.config/fish/config.fish
@@ -1,46 +1,45 @@
if status is-interactive
- # Commands to run in interactive sessions can go here
- starship init fish | source
- # neofetch
+ # Commands to run in interactive sessions can go here
+ starship init fish | source
- # abbreviations
- abbr --add --global gA 'git add -A'
- abbr --add --global ga 'git add'
- abbr --add --global gc 'git commit'
- abbr --add --global gcl 'git clone'
- abbr --add --global gcm 'git commit -m'
- abbr --add --global gp 'git push'
- abbr --add --global gs 'git status'
- abbr --add --global rF 'rm -rf'
- abbr --add --global rM 'rm -f'
- abbr --add --global rf 'rm -r'
- abbr --add --global x 'chmod +x'
- abbr -a gitssh 'ssh-add /home/zt/.ssh/MikunoNaka-GitHub'
+ neofetch
- # general PATH
- fish_add_path $HOME/.scripts
- fish_add_path $HOME/.local/bin
- fish_add_path $HOME/.emacs.d/bin
- fish_add_path /usr/local/bin
+ # abbreviations
+ abbr --add --global gA 'git add -A'
+ abbr --add --global ga 'git add'
+ abbr --add --global gc 'git clone'
+ abbr --add --global gcm 'git commit -m'
+ abbr --add --global gp 'git push'
+ abbr --add --global gpl 'git pull'
+ abbr --add --global gs 'git status'
+ abbr --add --global rF 'rm -rf'
+ abbr --add --global rM 'rm -r'
+ abbr --add --global x 'chmod +x'
- # PATH for different languages
- fish_add_path $HOME/.gopath
- fish_add_path $HOME/.local/flutter/bin
+ # general PATH
+ fish_add_path $HOME/.scripts
+ fish_add_path $HOME/.local/bin
+ fish_add_path $HOME/.emacs.d/bin
+ fish_add_path /usr/local/bin
- set -x RUST_SRC_PATH $HOME/.cargo
- set -x GOPATH $HOME/.gopath
- set -x QT_QPA_PLATFORMTHEME "gtk2"
+ # PATH for different languages
+ fish_add_path $HOME/.gopath
+ fish_add_path $HOME/.local/flutter/bin
- # default apps
- set -x EDITOR "nvim"
- set -x VISUAL "emacs"
- set -x TERMINAL "alacritty"
- set -x BROWSER "librewolf"
- set -x READER "librewolf"
- set -x COLORTERM "truecolor"
- set -x PAGER "bat"
+ set -x RUST_SRC_PATH $HOME/.cargo
+ set -x GOPATH $HOME/.gopath
+ set -x QT_QPA_PLATFORMTHEME "gtk2"
- # disable greeting
- set fish_greeting
- fish_ssh_agent
+ # default apps
+ set -x EDITOR "nvim"
+ set -x VISUAL "emacs"
+ set -x TERMINAL "alacritty"
+ set -x BROWSER "librewolf"
+ set -x READER "librewolf"
+ set -x COLORTERM "truecolor"
+ set -x PAGER "bat"
+
+ # disable greeting
+ set fish_greeting
+ fish_ssh_agent
end