b9deba220f
This *should've been* `git pull --rebase` (not `push`). Then I realized that I don't really use this alias; it's sort of a pre-magit workflow. Change-Id: Ibe02d2c960f60e7d735981171780ef755a50a5b9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5041 Tested-by: BuildkiteCI Autosubmit: wpcarro <wpcarro@gmail.com> Reviewed-by: wpcarro <wpcarro@gmail.com>
34 lines
1,008 B
Fish
34 lines
1,008 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 gd 'git diff'
|
|
alias glp 'git log --pretty --oneline --graph'
|
|
alias gpf 'git push --force-with-lease'
|
|
alias gsh 'git show HEAD'
|
|
alias gst 'git status'
|
|
alias edit 'emacsclient -n'
|
|
# fs navigation
|
|
alias d 'cd /depot'
|
|
alias w 'cd /depot/users/wpcarro'
|
|
# This allows me to call rebuild-system from any directory.
|
|
alias rebuild-system 'sudo /depot/bin/rebuild-system'
|
|
|
|
# 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)
|