Configure tmux
This commit is contained in:
32
linux/.zshrc
32
linux/.zshrc
@@ -9,6 +9,7 @@ export ZSH="$HOME/.oh-my-zsh"
|
||||
# to know which specific one was loaded, run: echo $RANDOM_THEME
|
||||
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
||||
ZSH_THEME="powerlevel10k/powerlevel10k"
|
||||
#ZSH_THEME="robbyrussell"
|
||||
|
||||
# Set list of themes to pick from when loading at random
|
||||
# Setting this variable when ZSH_THEME=random will cause zsh to load
|
||||
@@ -71,9 +72,11 @@ ZSH_CUSTOM=$ZSH/custom
|
||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||
# Add wisely, as too many plugins slow down shell startup.
|
||||
plugins=(
|
||||
aws
|
||||
colored-man-pages
|
||||
colorize
|
||||
command-not-found
|
||||
dnf
|
||||
docker
|
||||
docker-compose
|
||||
docker-machine
|
||||
@@ -85,24 +88,26 @@ plugins=(
|
||||
gitignore
|
||||
git-prompt
|
||||
golang
|
||||
httpie
|
||||
helm
|
||||
jsontools
|
||||
kubectl
|
||||
lein
|
||||
man
|
||||
minikube
|
||||
mvn
|
||||
oc
|
||||
operator-sdk
|
||||
pep8
|
||||
poetry
|
||||
pip
|
||||
profiles
|
||||
pylint
|
||||
python
|
||||
rustup
|
||||
ssh-agent
|
||||
themes
|
||||
tmux
|
||||
vscode
|
||||
web-search
|
||||
zsh-cargo-completion
|
||||
zsh-navigation-tools
|
||||
)
|
||||
|
||||
@@ -116,30 +121,21 @@ source $ZSH/oh-my-zsh.sh
|
||||
# export LANG=en_US.UTF-8
|
||||
|
||||
# Preferred editor for local and remote sessions
|
||||
# if [[ -n $SSH_CONNECTION ]]; then
|
||||
# export EDITOR='vim'
|
||||
# else
|
||||
# export EDITOR='mvim'
|
||||
# fi
|
||||
if [[ -n $SSH_CONNECTION ]]; then
|
||||
export EDITOR='vim'
|
||||
else
|
||||
export EDITOR='nvim'
|
||||
fi
|
||||
|
||||
# Compilation flags
|
||||
# export ARCHFLAGS="-arch x86_64"
|
||||
|
||||
# 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.
|
||||
# For a full list of active aliases, run `alias`.
|
||||
#
|
||||
# Example aliases
|
||||
# alias zshconfig="mate ~/.zshrc"
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
|
||||
# Setup emacs keymap
|
||||
bindkey -e
|
||||
|
||||
autoload -U compinit && compinit
|
||||
|
||||
source "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh"
|
||||
source "/usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
||||
Reference in New Issue
Block a user