Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
db8ac60d
Commit
db8ac60d
authored
Oct 26, 2020
by
Igor Pecovnik
Browse files
Add support for BASH profile
parent
fa3b7b55
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian-config-jobs
View file @
db8ac60d
...
...
@@ -915,6 +915,8 @@ function jobs ()
# change shell for future users
sed
-i
"s/^SHELL=.*/SHELL=
\/
usr
\/
bin
\/
zsh/"
/etc/default/useradd
sed
-i
"s/^DSHELL=.*/DSHELL=
\/
usr
\/
bin
\/
zsh/"
/etc/adduser.conf
# add support for bash profile
echo
"emulate sh -c 'source /etc/profile'"
>>
/etc/zsh/zprofile
# we have common settings
sed
-i
"s/^export ZSH=.*/export ZSH=
\/
etc
\/
oh-my-zsh/"
/etc/skel/.zshrc
# user cache
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment