diff --git a/files/zsh_plugins.txt b/files/zsh_plugins.txt index 4e63784..c73a0da 100644 --- a/files/zsh_plugins.txt +++ b/files/zsh_plugins.txt @@ -1,6 +1,3 @@ -oh-my-zsh/plugins/git-flow -oh-my-zsh/plugins/command-not-found - zsh-users/zsh-syntax-highlighting zsh-users/zsh-autosuggestions zsh-users/zsh-history-substring-search diff --git a/files/zshrc b/files/zshrc index 47e3381..f8a5462 100644 --- a/files/zshrc +++ b/files/zshrc @@ -1,5 +1,5 @@ # Created by newuser for 5.5.1 -# source ~/.zshrc.local source <(antibody init) antibody bundle < ~/.zsh_plugins.txt PATH="$PATH:$(ruby -e 'print Gem.user_dir')/bin" +source ~/.zshrc.local diff --git a/files/zshrc.local b/files/zshrc.local index 27cd594..e278f08 100644 --- a/files/zshrc.local +++ b/files/zshrc.local @@ -1 +1,39 @@ -PATH="$PATH:$(ruby -e 'print Gem.user_dir')/bin" +# Lines configured by zsh-newuser-install +HISTFILE=~/.zsh_history +HISTSIZE=1000 +SAVEHIST=1000 +setopt appendhistory nomatch +# End of lines configured by zsh-newuser-install +# The following lines were added by compinstall +zstyle :compinstall filename '/home/lafrite/.zshrc' + +autoload -Uz compinit +compinit +# End of lines added by compinstall + +export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=245" +# automatic color scheme with pywall + +# Vim keybindings +bindkey -v + +# substring search +bindkey '^[[A' history-substring-search-up +bindkey '^[[B' history-substring-search-down + +bindkey -M vicmd 'k' history-substring-search-up +bindkey -M vicmd 'j' history-substring-search-down + +# fzf +source /usr/share/fzf/key-bindings.zsh +source /usr/share/fzf/completion.zsh + +# Alias +alias notes="vim -c Note" +# taskwarrior alias +alias in="task add +in" + +export EDITOR="vim" + +# auto_ls pluting +export AUTO_LS_COMMANDS=(ls git-status) diff --git a/tasks/arch_CLI_packages.yml b/tasks/arch_CLI_packages.yml index d4e82fd..8d739f4 100644 --- a/tasks/arch_CLI_packages.yml +++ b/tasks/arch_CLI_packages.yml @@ -32,6 +32,7 @@ - autofs - bind-tools - unzip + - fzf state: present tags: - first_deployement