fish: Add fish shell config

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2020-01-02 08:06:00 +05:30
parent d29f4e0e27
commit 9cb59e82fc
2 changed files with 34 additions and 0 deletions

View File

@ -20,6 +20,7 @@ install:
stow notmuch
stow nvim
stow tmux
stow fish
reinstall:
@ -32,6 +33,7 @@ reinstall:
stow -R notmuch
stow -R nvim
stow -R tmux
stow -R fish
delete:
@ -44,6 +46,7 @@ delete:
stow -D notmuch
stow -D nvim
stow -D tmux
stow -D fish
update:

View File

@ -0,0 +1,31 @@
set PATH {$HOME}/.nix-profile/bin {$HOME}/.cargo/bin $PATH
set -gx TERM tmux-256color
set -gx NIX_PATH {$HOME}/.nix-defexpr/channels
export EDITOR='nvim'
export BROWSER='firefox'
export MANPAGER='nvim +Man!'
export NIX_SSL_CERT_FILE='/etc/ssl/certs/ca-certificates.crt'
alias b="cd .."
alias c="clear"
alias gp="git pull"
alias grv="git remote -v"
alias gba="git branch -a"
alias gcb="git checkout -b"
alias gf="git fetch"
alias gl="git log"
alias gm="git merge"
alias gpu="git push -u"
alias gs="git status"
alias vg="vgrep"
alias vs="vgrep -s"
alias v="nvim"
alias tksa="tmux kill-session -a"
alias tks="tmux kill-server"
alias vf="v (fzf)"
alias cs="cscope -bqR"
alias cat="bat"
alias t="tokei ."
alias gst="gst-inspect-1.0"
alias gsl="gst-launch-1.0"