mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Update skel
This commit is contained in:
@@ -62,3 +62,6 @@ alias bat-details='upower -i $(upower -e | grep battery)'
|
|||||||
|
|
||||||
# Nvidia refresh rate
|
# Nvidia refresh rate
|
||||||
alias nvidia-refresh-rate='nvidia-settings --display=:0 -q RefreshRate -t'
|
alias nvidia-refresh-rate='nvidia-settings --display=:0 -q RefreshRate -t'
|
||||||
|
|
||||||
|
# Earthly ssh
|
||||||
|
alias earthly='earthly --ssh-auth-sock ""'
|
||||||
|
|||||||
@@ -126,13 +126,17 @@ if [[ $- == *i* ]] ; then
|
|||||||
bindkey -M vicmd 'j' history-substring-search-down
|
bindkey -M vicmd 'j' history-substring-search-down
|
||||||
fi
|
fi
|
||||||
# Suggestions
|
# Suggestions
|
||||||
if test -f /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh ; then
|
for sugg_path in /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh ; do
|
||||||
# Works well for solarized
|
if test -f "${sugg_path}"; then
|
||||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=10"
|
# Works well for solarized
|
||||||
# Strategy -- note that 'completion' is slow AF
|
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=10"
|
||||||
ZSH_AUTOSUGGEST_STRATEGY=(history)
|
# Strategy -- note that 'completion' is slow AF
|
||||||
source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
ZSH_AUTOSUGGEST_STRATEGY=(history)
|
||||||
fi
|
source "${sugg_path}"
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
unset sugg_path
|
||||||
# History
|
# History
|
||||||
alias fullhist="history 1"
|
alias fullhist="history 1"
|
||||||
alias longhist="history -1000"
|
alias longhist="history -1000"
|
||||||
|
|||||||
Reference in New Issue
Block a user