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:
Sasha MOREL 2019-01-17 10:35:23 +01:00
parent 2621e78890
commit e6b9b188d4
6 changed files with 13 additions and 40 deletions

View File

@ -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

View File

@ -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'

View File

@ -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
}

3
rc.user/README.md Normal file
View File

@ -0,0 +1,3 @@
# Paramètre utilisateur
Ce dossier peut contenir des paramètre propre à chaque utilisateur.

View File

@ -1 +0,0 @@
/home/g.morel/Projets/projets/zsh/rc.user/gilles.zsh

View File

@ -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