diff --git a/config/fish/conf.d/tide.fish b/config/fish/conf.d/tide.fish deleted file mode 100644 index 3a2410f..0000000 --- a/config/fish/conf.d/tide.fish +++ /dev/null @@ -1,21 +0,0 @@ -set -g tide_git_bg_color 268bd2 -set -g tide_git_bg_color_unstable C4A000 -set -g tide_git_bg_color_urgent CC0000 -set -g tide_git_branch_color 000000 -set -g tide_git_color_branch 000000 -set -g tide_git_color_conflicted 000000 -set -g tide_git_color_dirty 000000 -set -g tide_git_color_operation 000000 -set -g tide_git_color_staged 000000 -set -g tide_git_color_stash 000000 -set -g tide_git_color_untracked 000000 -set -g tide_git_color_upstream 000000 -set -g tide_git_conflicted_color 000000 -set -g tide_git_dirty_color 000000 -set -g tide_git_icon  -set -g tide_git_operation_color 000000 -set -g tide_git_staged_color 000000 -set -g tide_git_stash_color 000000 -set -g tide_git_untracked_color 000000 -set -g tide_git_upstream_color 000000 -set -g tide_pwd_bg_color 444444 diff --git a/config/fish/config-linux.fish b/config/fish/config-linux.fish deleted file mode 100644 index 3fe202c..0000000 --- a/config/fish/config-linux.fish +++ /dev/null @@ -1,4 +0,0 @@ -if type -q exa - alias ll "exa -l -g --icons" - alias lla "ll -a" -end diff --git a/config/fish/config-osx.fish b/config/fish/config-osx.fish deleted file mode 100644 index 3fe202c..0000000 --- a/config/fish/config-osx.fish +++ /dev/null @@ -1,4 +0,0 @@ -if type -q exa - alias ll "exa -l -g --icons" - alias lla "ll -a" -end diff --git a/config/fish/config-windows.fish b/config/fish/config-windows.fish deleted file mode 100644 index e69de29..0000000 diff --git a/config/fish/config.fish b/config/fish/config.fish deleted file mode 100644 index 2fd6cc1..0000000 --- a/config/fish/config.fish +++ /dev/null @@ -1,55 +0,0 @@ -set fish_greeting "" - -set -gx TERM xterm-256color - -# theme -set -g theme_color_scheme terminal-dark -set -g fish_prompt_pwd_dir_length 1 -set -g theme_display_user yes -set -g theme_hide_hostname no -set -g theme_hostname always - -# aliases -alias ls "ls -p -G" -alias la "ls -A" -alias ll "ls -l" -alias lla "ll -A" -alias g git -command -qv nvim && alias vim nvim - -set -gx EDITOR nvim - -set -gx PATH bin $PATH -set -gx PATH ~/bin $PATH -set -gx PATH ~/.local/bin $PATH - -# NodeJS -set -gx PATH node_modules/.bin $PATH - -# Go -set -g GOPATH $HOME/go -set -gx PATH $GOPATH/bin $PATH - -# NVM -function __check_rvm --on-variable PWD --description 'Do nvm stuff' - status --is-command-substitution; and return - - if test -f .nvmrc; and test -r .nvmrc; - nvm use - else - end -end - -switch (uname) - case Darwin - source (dirname (status --current-filename))/config-osx.fish - case Linux - source (dirname (status --current-filename))/config-linux.fish - case '*' - source (dirname (status --current-filename))/config-windows.fish -end - -set LOCAL_CONFIG (dirname (status --current-filename))/config-local.fish -if test -f $LOCAL_CONFIG - source $LOCAL_CONFIG -end diff --git a/config/fish/functions/fish_user_key_bindings.fish b/config/fish/functions/fish_user_key_bindings.fish deleted file mode 100644 index 6e91c85..0000000 --- a/config/fish/functions/fish_user_key_bindings.fish +++ /dev/null @@ -1,11 +0,0 @@ -function fish_user_key_bindings - # peco - 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 - - # vim-like - bind \cl forward-char - - # prevent iterm2 from closing when typing Ctrl-D (EOF) - bind \cd delete-char -end diff --git a/config/fish/functions/peco_change_directory.fish b/config/fish/functions/peco_change_directory.fish deleted file mode 100644 index 75ff0a1..0000000 --- a/config/fish/functions/peco_change_directory.fish +++ /dev/null @@ -1,23 +0,0 @@ -function _peco_change_directory - if [ (count $argv) ] - peco --layout=bottom-up --query "$argv "|perl -pe 's/([ ()])/\\\\$1/g'|read foo - else - peco --layout=bottom-up |perl -pe 's/([ ()])/\\\\$1/g'|read foo - end - if [ $foo ] - builtin cd $foo - commandline -r '' - commandline -f repaint - else - commandline '' - end -end - -function peco_change_directory - begin - echo $HOME/.config - ghq list -p - ls -ad */|perl -pe "s#^#$PWD/#"|grep -v \.git - ls -ad $HOME/Developments/*/* |grep -v \.git - end | sed -e 's/\/$//' | awk '!a[$0]++' | _peco_change_directory $argv -end diff --git a/config/fish/functions/peco_select_history.fish b/config/fish/functions/peco_select_history.fish deleted file mode 100644 index 5aad015..0000000 --- a/config/fish/functions/peco_select_history.fish +++ /dev/null @@ -1,15 +0,0 @@ -function peco_select_history - if test (count $argv) = 0 - set peco_flags --layout=bottom-up - else - set peco_flags --layout=bottom-up --query "$argv" - end - - history|peco $peco_flags|read foo - - if [ $foo ] - commandline $foo - else - commandline '' - end -end diff --git a/install.conf.yaml b/install.conf.yaml index 479d469..473dba1 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -16,9 +16,6 @@ ~/.config/nvim: path: config/nvim force: true - ~/.config/fish: - path: config/fish - force: true ~/.zshrc: path: config/zsh/zshrc.zsh force: true