Use all arguments and remove normal mode by default

This commit is contained in:
Alex D. 2020-10-24 23:10:38 +02:00
parent 5069ed56c2
commit e0cd32534e
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
2 changed files with 1 additions and 3 deletions

View File

@ -1,2 +1,2 @@
([ -z $1 ] || [ -z $2 ] || [ -z $3 ]) && return
printf "PRIVMSG %s :%s\r\n" "$1" "${argv[3]}" > ~/IRC/$2/global/in
printf "PRIVMSG %s :%s\r\n" "$2" "${argv[3,-1]}" > ~/IRC/$1/global/in

View File

@ -7,5 +7,3 @@ typeset -g POWERLEVEL9K_VI_OVERWRITE_MODE_STRING=O
typeset -g POWERLEVEL9K_VI_MODE_OVERWRITE_BACKGROUND=3
typeset -g POWERLEVEL9K_VI_INSERT_MODE_STRING=I
typeset -g POWERLEVEL9K_VI_MODE_INSERT_BACKGROUND=5
zle-line-init() { zle -K vicmd; }
zle -N zle-line-init