Created
January 30, 2019 16:30
-
-
Save MattMencel/58a31b67cef4c147b95638354bba4e73 to your computer and use it in GitHub Desktop.
Fish Shell Config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#~/.config/omf/init.fish | |
set -g theme_display_k8s_context yes | |
set -g theme_display_ruby no | |
set -g theme_display_user yes | |
set -g theme_display_hostname yes | |
set -g theme_powerline_fonts no | |
set -g theme_nerd_fonts yes | |
set -g theme_newline_cursor yes | |
### EDITOR | |
set -x EDITOR vi | |
### Autojump | |
[ -f /usr/local/share/autojump/autojump.fish ]; and source /usr/local/share/autojump/autojump.fish | |
### Chef | |
eval (chef shell-init fish) | |
### iTerm2 Shell Integration | |
source ~/.iterm2_shell_integration.(basename $SHELL) | |
### GO | |
set -x -U GOPATH ~/go | |
## Kubernetes | |
set -x KUBECONFIG (find ~/.kube -type f -name '*config*' | tr '\n' ':' | sed 's/:$//') | |
[ -f ~/.kubectl_aliases ] && source ~/.kubectl_aliases | |
alias tf="/usr/local/bin/terraform" | |
### PATH | |
set -x PATH ~/.krew/bin $PATH | |
set -x PATH $GOPATH/bin $PATH | |
set -x PATH /opt/chef-workstation/embedded/bin $PATH | |
set -x PATH /usr/local/sbin ~/bin $PATH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.config/omf/functions/kubectl.fish | |
function kubectl | |
echo "+ kubectl $argv"; command kubectl $argv; | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.config/omf/functions/tfplan.fish | |
function tfplan | |
terraform plan "$argv" | landscape | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment