tvl-depot/users/wpcarro/dotfiles/config.fish
William Carroll c1fe77d7b9 feat(fish): Define alias to cd /depot/users/wpcarro
Simplifying my life...

Change-Id: I84aabb337727fa56d79c72e81acf7b11c7308839
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5057
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-01-25 20:01:24 +00:00

31 lines
847 B
Fish

alias c 'xclip -selection clipboard -i'
alias p 'xclip -selection clipboard -o'
alias cat 'bat --theme="Monokai Extended Light"'
alias rgh 'rg --hidden'
alias fdh 'fd --hidden'
alias tpr 'tput reset'
alias ls 'exa --sort=type'
alias ll 'exa --long --sort=type'
alias la 'exa --long --all --sort=type'
alias gst 'git status'
alias gsh 'git show HEAD'
alias gpf 'git push --force-with-lease'
alias gd 'git diff'
alias edit 'emacsclient -n'
# fs navigation
alias d 'cd /depot'
alias w 'cd /depot/users/wpcarro'
# environment variables
set -gx EDITOR "emacsclient"
set -gx ALTERNATE_EDITOR "emacs -q -nw"
set -gx VISUAL "emacsclient"
# Use my custom fish prompt
source ~/.config/fish/prompt.fish
# Configure fuzzy history, file, directory searching
source (fzf-share)/key-bindings.fish && fzf_key_bindings
# Install direnv
eval (direnv hook fish)