zsh: fix for termux on android (for real this time)
This commit is contained in:
parent
c11d871ab7
commit
674a0d29ec
1 changed files with 6 additions and 2 deletions
8
.zshrc
8
.zshrc
|
@ -501,7 +501,8 @@
|
|||
{
|
||||
# setopt correct # Auto correct mistakes
|
||||
setopt extendedglob # Extended globbing. Allows using regular expressions with *
|
||||
setopt nocaseglob # Case insensitive globbing
|
||||
[ -z "$TERMUX_VERSION" ] &&
|
||||
setopt nocaseglob # Case insensitive globbing (and fix for termux)
|
||||
setopt rcexpandparam # Array expension with parameters
|
||||
setopt checkjobs # Warn about running processes when exiting
|
||||
setopt numericglobsort # Sort filenames numerically when it makes sense
|
||||
|
@ -595,7 +596,7 @@ export LESS_TERMCAP_ue=$'\E[0m'
|
|||
export LESS_TERMCAP_us=$'\E[01;36m'
|
||||
export LESS=-R
|
||||
autoload -U compinit colors zcalc
|
||||
compinit -d 2>&1 > /dev/null
|
||||
compinit -d
|
||||
colors
|
||||
# <<<
|
||||
### Various manjaro ZSH functions >>>
|
||||
|
@ -728,6 +729,9 @@ add-zsh-hook chpwd save_working_dir
|
|||
|
||||
load_working_dir &&
|
||||
cd - > /dev/null
|
||||
|
||||
[ -n "$TERMUX_VERSION" ] &&
|
||||
setopt nocaseglob # Case insensitive globbing (fix for termux)
|
||||
# <<<
|
||||
# <<<
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue