added stuff
This commit is contained in:
parent
937f28770d
commit
236b8c2a6b
907 changed files with 70990 additions and 0 deletions
22
nyx/homes/notashelf/programs/terminal/shell/zsh/rc/misc.zsh
Normal file
22
nyx/homes/notashelf/programs/terminal/shell/zsh/rc/misc.zsh
Normal file
|
@ -0,0 +1,22 @@
|
|||
# If this is an xterm set the title to user@host:dir
|
||||
case "$TERM" in
|
||||
xterm*|rxvt*|Eterm|aterm|kterm|gnome*|alacritty|kitty*)
|
||||
TERM_TITLE=$'\e]0;%n@%m: %1~\a'
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
# enable keyword-style arguments in shell functions
|
||||
set -k
|
||||
|
||||
# Colors
|
||||
autoload -Uz colors && colors
|
||||
|
||||
# Autosuggest
|
||||
ZSH_AUTOSUGGEST_USE_ASYNC="true"
|
||||
|
||||
# open commands in $EDITOR
|
||||
autoload -z edit-command-line
|
||||
zle -N edit-command-line
|
||||
bindkey "^e" edit-command-line
|
Loading…
Add table
Add a link
Reference in a new issue