mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-26 07:57:55 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c5e6860595 | |||
| b5a3c34fc3 | |||
| 87c89cf828 | |||
|
|
8d57c9425e | ||
|
|
cfe97d81a7 |
@@ -1 +1 @@
|
|||||||
3.13.0
|
3.13.1
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ zstyle ':omz:plugins:nvm' autoload yes
|
|||||||
# Pure prompt settings
|
# Pure prompt settings
|
||||||
export PURE_PROMPT_SYMBOL='➜'
|
export PURE_PROMPT_SYMBOL='➜'
|
||||||
export PURE_GIT_UNTRACKED_DIRTY=0
|
export PURE_GIT_UNTRACKED_DIRTY=0
|
||||||
|
export PURE_CMD_MAX_EXEC_TIME=86400 # 24 hours
|
||||||
zstyle ':prompt:pure:git:stash' show yes
|
zstyle ':prompt:pure:git:stash' show yes
|
||||||
zstyle ':prompt:pure:execution_time' show no
|
zstyle ':prompt:pure:execution_time' show no
|
||||||
zstyle ':prompt:pure:user' color magenta
|
zstyle ':prompt:pure:user' color magenta
|
||||||
|
|||||||
@@ -416,7 +416,7 @@ section_helpers()
|
|||||||
"env:Show environment variables"
|
"env:Show environment variables"
|
||||||
"functions:Show functions"
|
"functions:Show functions"
|
||||||
"nvim:Show nvim keybindings"
|
"nvim:Show nvim keybindings"
|
||||||
"path:Show \$PATH dir by dir"
|
'path:Show $PATH dir by dir'
|
||||||
"tmux:Show tmux keybindings"
|
"tmux:Show tmux keybindings"
|
||||||
"wezterm:Show wezterm keybindings"
|
"wezterm:Show wezterm keybindings"
|
||||||
)
|
)
|
||||||
@@ -564,12 +564,12 @@ section_check()
|
|||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
a | arch)
|
a | arch)
|
||||||
[[ "$2" = "" ]] && echo "$X_ARCH" && exit 0
|
[[ $2 == "" ]] && echo "$X_ARCH" && exit 0
|
||||||
[[ $X_ARCH = "$2" ]] && exit 0 || exit 1
|
[[ $X_ARCH == "$2" ]] && exit 0 || exit 1
|
||||||
;;
|
;;
|
||||||
h | host | hostname)
|
h | host | hostname)
|
||||||
[[ "$2" = "" ]] && echo "$X_HOSTNAME" && exit 0
|
[[ $2 == "" ]] && echo "$X_HOSTNAME" && exit 0
|
||||||
[[ $X_HOSTNAME = "$2" ]] && exit 0 || exit 1
|
[[ $X_HOSTNAME == "$2" ]] && exit 0 || exit 1
|
||||||
;;
|
;;
|
||||||
*) menu_usage "$USAGE_PREFIX" "${MENU[@]}" ;;
|
*) menu_usage "$USAGE_PREFIX" "${MENU[@]}" ;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user