diff --git a/.zshrc b/.zshrc index bb8b00a..9090a02 100644 --- a/.zshrc +++ b/.zshrc @@ -26,6 +26,8 @@ zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}' # Alias alias vi="nvim" alias vim="nvim" +alias cmakeg="cmake -B build -S ." +alias cmakeb="cmake --build build -j $(nproc)" # Plugins from AUR source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme @@ -82,3 +84,8 @@ bindkey '^[[B' history-substring-search-down bindkey '^K' history-substring-search-up bindkey '^J' history-substring-search-down +# Set default editor +export EDITOR="nvim" + +# Global CMake clangd fix +export CMAKE_EXPORT_COMPILE_COMMANDS=1