Files
dotfiles/fish/config.fish

70 lines
1.9 KiB
Fish

# setting defualt editor
set EDITOR vim
# setting PATH for rbenv
# set PATH /usr/local/var/rbenv/shims $PATH
status --is-interactive; and source (rbenv init -|psub)
# setting elixir sepcific stuff
set ERL_AFLAGS "-kernel shell_history enabled"
# disable homebrew phoning home
set HOMEBREW_NO_ANALYTICS 1
# disable 'spring' for Rails development
set DISABLE_SPRING 1
# setting ulimits
ulimit -n 2048
# grep options
set GREP_OPTIONS '--color=auto'
set GREP_COLOR '1;32'
# setting locale
set -x LC_ALL 'en_US.UTF-8'
set -x LANG 'en_US.UTF-8'
# define GOPATH
set -x -U GOPATH $HOME/Documents/workspace_go
# setting GPG
set GPG_TTY /dev/ttys001
# set abbveriations
if status --is-interactive
set -g fish_user_abbreviations
abbr --add wtm 'cd ~/Documents/workspace_tm'
abbr --add obc 'cd ~/Documents/workspace_tm/obc'
abbr --add tix 'cd ~/Documents/workspace_tm/amadeus_api/'
abbr --add gst 'git status'
abbr --add gd 'git diff'
abbr --add ga 'git add .'
abbr --add gl 'git pull'
abbr --add gup 'git fetch && git rebase'
abbr --add gp 'git push'
abbr --add gc 'git commit -v'
abbr --add gc! 'git commit --amend'
abbr --add gca 'git commit -v -a'
abbr --add gco 'git checkout'
abbr --add gb 'git branch'
abbr --add gba 'git branch -a'
abbr --add gcount 'git shortlog -sn'
abbr --add gcp 'git cherry-pick'
abbr --add glg 'git log --stat --max-count=5'
abbr --add bb 'brew update; and brew outdated'
abbr --add bx 'bundle exec'
abbr --add bxrc 'bundle exec rails c'
abbr --add bxrs 'bundle exec rails s'
abbr --add cloud 'cd ~/Library/Mobile\ Documents/com~apple~CloudDocs'
end
# disable login greeting
set fish_greeting ''
# set -g fish_user_paths "/usr/local/opt/node@10/bin" $fish_user_paths
set -g fish_user_paths "/usr/local/sbin" $fish_user_paths
# add kitty support
# kitty + complete setup fish | source