annotate .profile-zsh @ 168:75e3f2d8368c
move the ll and lr functions into the general zshrc
author |
Dirk Olmes <dirk.olmes@codedo.de> |
date |
Sat, 04 Apr 2020 03:15:18 +0200 (2020-04-04) |
parents |
d0cdc3f47182 |
children |
|
rev |
line source |
105
|
1 #
|
|
2 # Use this as .profile on systems where the default shell cannot be changed to zsh
|
|
3 #
|
|
4 if [ ! -z "$SSH_TTY" ]; then
|
|
5 # this is an interactive shell, replace the current shell with a zsh
|
|
6 if [ -f /bin/zsh ]; then
|
|
7 export SHELL=/bin/zsh
|
|
8 exec /bin/zsh -l
|
|
9 fi
|
|
10 fi
|