Skip to content

Instantly share code, notes, and snippets.

@rafaelrinaldi
Created October 11, 2018 20:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rafaelrinaldi/f5689116f4d30b9e238306302009443d to your computer and use it in GitHub Desktop.
Save rafaelrinaldi/f5689116f4d30b9e238306302009443d to your computer and use it in GitHub Desktop.
set -x LSCOLORS ExFxCxDxBxegedabagacad
set -x LC_CTYPE en_US.UTF-8
set -x EDITOR nvim
set -x VIMRC $HOME/.vimrc
set -x TMUXRC $HOME/.tmux.conf
set -x FISHRC $HOME/.config/fish/config.fish
# $PATH equivalent
set -U fish_user_paths /usr/local/bin
# Tweak search highlight colors
set -U fish_color_search_match --background=white
# Aliases
alias e 'cd $HOME/exercism'
alias git hub
alias ip 'curl icanhazip.com'
alias ipl 'ipconfig getifaddr en0'
alias npm-clean 'rm -rf ./node_modules; npm cache clean; npm install'
alias rg 'rg --colors "match:bg:yellow" --colors "match:style:bold"'
alias w 'cd $HOME/work'
alias d 'cd $HOME/dev'
alias dstroy 'find $PWD -name ".DS_Store" | xargs trash'
alias tf terraform
alias vim nvim
alias spotlight-reindex 'sudo mdutil -E /'
alias t trash
alias readme 'vim README.md'
alias min 'vim -u $HOME/.minrc'
alias tower gittower
alias mux tmuxinator
alias n nnn
function http -d 'Open the browser with a doge matching the http status code'
open "https://httpstatusdogs.com/img/$argv.jpg"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment