Suppression des références à mon nom d'utilisateur
En fait, ce n'est pas forcément utile et ça peut nuire à l'utilisation par d'autres personnes
This commit is contained in:
parent
2621e78890
commit
e6b9b188d4
|
@ -1,16 +0,0 @@
|
||||||
open_new_tab () {
|
|
||||||
if [[ -x `which guake` ]]; then
|
|
||||||
guake --new-tab=DUMB --rename-tab=$2 --execute-command=" command $* && logout; read; logout"
|
|
||||||
elif [[ -x `which yakuake` ]]; then
|
|
||||||
if [ "`qdbus org.kde.yakuake /yakuake/MainWindow_1 org.freedesktop.DBus.Properties.Get com.trolltech.Qt.QWidget visible`" = "false" ];then
|
|
||||||
qdbus org.kde.yakuake /yakuake/window toggleWindowState
|
|
||||||
fi
|
|
||||||
qdbus org.kde.yakuake /yakuake/sessions org.kde.yakuake.addSession>/dev/null
|
|
||||||
qdbus org.kde.yakuake /yakuake/tabs org.kde.yakuake.setTabTitle "`qdbus org.kde.yakuake /yakuake/sessions org.kde.yakuake.activeSessionId`" "$2">/dev/null
|
|
||||||
qdbus org.kde.yakuake /yakuake/sessions org.kde.yakuake.runCommand " command $* && exit; read; exit">/dev/null
|
|
||||||
else
|
|
||||||
command $*
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
[ -x /etc/profile.d/cnf.sh ] && . /etc/profile.d/cnf.sh
|
|
|
@ -52,5 +52,14 @@ open_new_tab () {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [ "x$SSH_CLIENT" = "x" ]; then
|
||||||
|
USE_XTABS=True
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -x $(which -p vim) ]; then
|
||||||
|
export EDITOR=vim
|
||||||
|
export VISUAL=vim
|
||||||
|
fi
|
||||||
|
|
||||||
alias vnc='xtigervncviewer -FullScreenAllMonitors=0 -FullScreen'
|
alias vnc='xtigervncviewer -FullScreenAllMonitors=0 -FullScreen'
|
||||||
alias rdp='xfreerdp --cert-ignore --size 1900x1000 -u gilles -v'
|
alias rdp='xfreerdp --cert-ignore --size 1900x1000 -u '$USER' -v'
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
open_new_tab () {
|
|
||||||
if [[ -x `which guake` ]]; then
|
|
||||||
guake --new-tab=DUMB --rename-tab=$2 --execute-command=" command $* && logout; read; logout"
|
|
||||||
elif [[ -x `which yakuake` ]]; then
|
|
||||||
if [ "`qdbus org.kde.yakuake /yakuake/MainWindow_1 org.freedesktop.DBus.Properties.Get com.trolltech.Qt.QWidget visible`" = "false" ];then
|
|
||||||
qdbus org.kde.yakuake /yakuake/window toggleWindowState
|
|
||||||
fi
|
|
||||||
qdbus org.kde.yakuake /yakuake/sessions org.kde.yakuake.addSession>/dev/null
|
|
||||||
qdbus org.kde.yakuake /yakuake/tabs org.kde.yakuake.setTabTitle "`qdbus org.kde.yakuake /yakuake/sessions org.kde.yakuake.activeSessionId`" "$2">/dev/null
|
|
||||||
qdbus org.kde.yakuake /yakuake/sessions org.kde.yakuake.runCommand " command $* && exit; read; exit">/dev/null
|
|
||||||
else
|
|
||||||
command $*
|
|
||||||
fi
|
|
||||||
}
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
# Paramètre utilisateur
|
||||||
|
|
||||||
|
Ce dossier peut contenir des paramètre propre à chaque utilisateur.
|
|
@ -1 +0,0 @@
|
||||||
/home/g.morel/Projets/projets/zsh/rc.user/gilles.zsh
|
|
|
@ -1,8 +0,0 @@
|
||||||
if [ "x$SSH_CLIENT" = "x" ]; then
|
|
||||||
USE_XTABS=True
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -x $(which -p vim) ]; then
|
|
||||||
export EDITOR=vim
|
|
||||||
export VISUAL=vim
|
|
||||||
fi
|
|
Loading…
Reference in New Issue