Created
September 6, 2017 06:41
-
-
Save m-nakamura145/1764111212ebd98cecc08e5d14fed2ab to your computer and use it in GitHub Desktop.
config.fish
This file contains 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
# for fish theme | |
set -g theme_powerline_fonts no | |
set -g theme_nerd_fonts yes | |
# alias | |
alias g git | |
alias gg 'git gr' | |
alias gs 'git status' | |
alias grep "grep --color -n -I --exclude='*.svn-*' --exclude='entries' --exclude='*/cache/*'" | |
alias ls "ls -G" # color for darwin | |
alias l "ls -la" | |
alias la "ls -la" | |
alias ll "ls -1" | |
# for ghq | |
alias ghqlist "cd (ghq list -p | peco)" | |
# peco | |
function fish_user_key_bindings | |
bind \cr peco_select_history # Bind for peco select history to Ctrl+R | |
bind \cf peco_change_directory # Bind for peco change directory to Ctrl+F | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment