summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2018-06-10 11:20:13 +0100
committerSean Whitton <spwhitton@spwhitton.name>2018-06-10 11:20:53 +0100
commit88e35e71727b989b310b5991eb7cdc5ff5f54469 (patch)
treec744c0e160418f5868ac9a497b27078ad02a31e2 /.bashrc
parent257c2c42c09b09c32b3fe1f309e86954ff88b07d (diff)
downloaddotfiles-88e35e71727b989b310b5991eb7cdc5ff5f54469.tar.gz
new-login-shell alias
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 0366d7fc..57a8abdd 100644
--- a/.bashrc
+++ b/.bashrc
@@ -45,6 +45,7 @@ alias d="emacsclient -c -n -e '(dired \".\")'"
alias ta="tmux attach-session"
alias rax="screen -URaAx"
alias lid-hold="systemd-inhibit --what=sleep --who=Sean --why=manual --mode=block cat"
+alias new-login-shell="exec su -l $USER" # get new UNIX group without relog
alias sid-build-deps='mk-build-deps -ir -s sudo -t \
"apt-get -o Debug::pkgProblemResolver=yes -t sid --no-install-recommends"'