Update zshrc
This commit is contained in:
parent
bda01a558a
commit
f463530645
1 changed files with 2 additions and 7 deletions
|
|
@ -24,8 +24,8 @@ CASE_SENSITIVE="true"
|
||||||
# HYPHEN_INSENSITIVE="true"
|
# HYPHEN_INSENSITIVE="true"
|
||||||
|
|
||||||
# Uncomment one of the following lines to change the auto-update behavior
|
# Uncomment one of the following lines to change the auto-update behavior
|
||||||
zstyle ':omz:update' mode disabled # disable automatic updates
|
# zstyle ':omz:update' mode disabled # disable automatic updates
|
||||||
# zstyle ':omz:update' mode auto # update automatically without asking
|
zstyle ':omz:update' mode auto # update automatically without asking
|
||||||
# zstyle ':omz:update' mode reminder # just remind me to update when it's time
|
# zstyle ':omz:update' mode reminder # just remind me to update when it's time
|
||||||
|
|
||||||
# Uncomment the following line to change how often to auto-update (in days).
|
# Uncomment the following line to change how often to auto-update (in days).
|
||||||
|
|
@ -100,16 +100,11 @@ source $ZSH/oh-my-zsh.sh
|
||||||
# alias zshconfig="mate ~/.zshrc"
|
# alias zshconfig="mate ~/.zshrc"
|
||||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||||
|
|
||||||
alias calc="python3 -c 'import sys; print(eval(\"\".join(sys.argv[1:])))'"
|
|
||||||
|
|
||||||
# Read man page.
|
# Read man page.
|
||||||
zstyle ':completion:*:manuals' separate-sections true
|
zstyle ':completion:*:manuals' separate-sections true
|
||||||
zstyle ':completion:*:manuals.*' insert-sections true
|
zstyle ':completion:*:manuals.*' insert-sections true
|
||||||
zstyle ':completion:*:man:*' menu yes select
|
zstyle ':completion:*:man:*' menu yes select
|
||||||
|
|
||||||
# Created by `pipx` on 2022-08-16 18:53:24
|
|
||||||
export PATH="$PATH:/home/eyedevelop/.local/bin"
|
|
||||||
|
|
||||||
# Auto start tmux
|
# Auto start tmux
|
||||||
if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ] && [ -z "$SSH_CONNECTION" ]; then
|
if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ] && [ -z "$SSH_CONNECTION" ]; then
|
||||||
exec tmux
|
exec tmux
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue