diff --git a/custom/functions/sendirc b/custom/functions/sendirc index d57e7d4..6b6d96b 100644 --- a/custom/functions/sendirc +++ b/custom/functions/sendirc @@ -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 diff --git a/powerlevel-config/vi-mode.zsh b/powerlevel-config/vi-mode.zsh index 68f11fc..0c25129 100644 --- a/powerlevel-config/vi-mode.zsh +++ b/powerlevel-config/vi-mode.zsh @@ -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