Added Fish terminal configuration

This commit is contained in:
Fabio Scotto di Santolo
2024-05-09 14:37:47 +02:00
parent 589875fb2f
commit 6c21b51906
18 changed files with 1679 additions and 14 deletions

15
.zshrc
View File

@@ -1,6 +1,3 @@
# Fig pre block. Keep at the top of this file.
[[ -f "$HOME/.fig/shell/zshrc.pre.zsh" ]] && builtin source "$HOME/.fig/shell/zshrc.pre.zsh"
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
@@ -109,7 +106,6 @@ plugins=(
web-search
zsh-completions
zsh-navigation-tools
#zsh_reload
)
source $ZSH/oh-my-zsh.sh
@@ -131,6 +127,8 @@ source $ZSH/oh-my-zsh.sh
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
[[ ! -f ~/.zshenv ]] || source ~/.zshenv
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
@@ -143,15 +141,19 @@ source $ZSH/oh-my-zsh.sh
# Setup emacs keymap
bindkey -e
fpath=(~/.zsh $fpath)
unalias run-help
autoload run-help
autoload -U compinit && compinit
autoload -Uz compinit && compinit -u
source "$ZSH_HIGHLIGHT_DIR/zsh-syntax-highlighting.zsh"
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
source <(kind completion zsh)
# pyenv configuration
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
@@ -162,6 +164,3 @@ test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell
export NVM_DIR="$HOME/.nvm"
[ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && \. "/opt/homebrew/opt/nvm/nvm.sh" # This loads nvm
[ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
# Fig post block. Keep at the bottom of this file.
[[ -f "$HOME/.fig/shell/zshrc.post.zsh" ]] && builtin source "$HOME/.fig/shell/zshrc.post.zsh"