summaryrefslogtreecommitdiff
path: root/config/login-.bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'config/login-.bashrc')
-rw-r--r--config/login-.bashrc11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/login-.bashrc b/config/login-.bashrc
new file mode 100644
index 00000000..fbe6f4fc
--- /dev/null
+++ b/config/login-.bashrc
@@ -0,0 +1,11 @@
+# login -- a normal login
+alias login='exec login -p -R-p -R-aHOME -R-aMOTD -R-e_LOGIN_RETRY=yes'
+alias logon=login
+alias l=login
+# quick login -- don't act like a login shell, but do cd to $HOME
+alias ql='exec login -pSL -aMOTD -R-p -R-aHOME -R-aMOTD -R-e_LOGIN_RETRY=yes'
+# su -- don't even cd to $HOME
+alias su='exec login --program-name=su -pSL -aHOME -aMOTD -R-p -R-aHOME -R-aMOTD -R-e_LOGIN_RETRY=yes'
+alias sush=su
+alias help='cat $HOME/README'
+alias '?'=help