) | sort -u))
zstyle ':completion:*:hosts' hosts $hosts
+zstyle ':completion:*:(ssh|scp|sftp):*' hosts $hosts
zstyle ':completion:*:hosts' list-colors '=(#b)(*)(.lln.iba)=01;30=01;31' '=[^.]#=01;31'
users=(atihon ccadmin tcsadmin tcs clinical root)
then
if [ `/usr/bin/whoami` != 'root' ]
then
- alias ssh='~/.zsh.d/scripts/konsolewrap ssh'
- alias lftp='~/.zsh.d/scripts/konsolewrap lftp'
- alias sftp='~/.zsh.d/scripts/konsolewrap sftp'
- alias su='~/.zsh.d/scripts/konsolewrap su'
- alias telnet='~/.zsh.d/scripts/konsolewrap telnet'
- alias rlogin='~/.zsh.d/scripts/konsolewrap rlogin'
- alias rsh='~/.zsh.d/scripts/konsolwrap rsh'
+ alias ssh='~/.zsh.d/wrappers/ssh'
+ alias lftp='~/.zsh.d/wrappers/lftp'
+ alias sftp='~/.zsh.d/wrappers/sftp'
+ alias su='~/.zsh.d/wrappers/su'
+ alias telnet='~/.zsh.d/wrappers/telnet'
+ alias rlogin='~/.zsh.d/wrappers/rlogin'
+ alias rsh='~/.zsh.d/wrappers/rsh'
fi
fi
#! /usr/bin/zsh
+
git_parse() {
psvar=()
+++ /dev/null
-#! /usr/bin/zsh
-# This small script renames the konsole tab to the commands' last argument
-
-typeset -a args
-args=$@
-lastarg="${args[(w)-1]}"
-dcop ${KONSOLE_DCOP_SESSION} renameSession "$lastarg"
-exec $cmd "$@"
-
+++ /dev/null
-#! /usr/bin/zsh
-# This small script renames the konsole tab to the commands' last argument
-
-typeset -a args
-args=$@
-lastarg="${args[(w)-1]}"
-dcop ${KONSOLE_DCOP_SESSION} renameSession "$lastarg"
-exec $cmd "$@"
-
-
-
--- /dev/null
+#! /usr/bin/zsh
+# This small script renames the konsole tab to the commands' last argument
+
+typeset -a args
+cmd=`basename $0`
+args=$@
+lastarg="${args[(w)-1]}"
+dcop ${KONSOLE_DCOP_SESSION} renameSession "$lastarg"
+exec $cmd "$@"
+
--- /dev/null
+konsoleautowrap
\ No newline at end of file
--- /dev/null
+konsoleautowrap
\ No newline at end of file
--- /dev/null
+konsoleautowrap
\ No newline at end of file
--- /dev/null
+konsoleautowrap
\ No newline at end of file
--- /dev/null
+konsoleautowrap
\ No newline at end of file
--- /dev/null
+konsoleautowrap
\ No newline at end of file
--- /dev/null
+konsoleautowrap
\ No newline at end of file