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
2b986989
Unverified
Commit
2b986989
authored
Jan 29, 2019
by
Igor Pečovnik
Committed by
GitHub
Jan 29, 2019
Browse files
ZSH bugfix
parent
68f6002f
Changes
1
Show whitespace changes
Inline
Side-by-side
debian-config-jobs
View file @
2b986989
...
@@ -805,9 +805,8 @@ function jobs ()
...
@@ -805,9 +805,8 @@ function jobs ()
sed
-i
"/^export ZSH=.*/a export ZSH_CACHE_DIR=~
\/
.oh-my-zsh
\/
cache"
/etc/skel/.zshrc
sed
-i
"/^export ZSH=.*/a export ZSH_CACHE_DIR=~
\/
.oh-my-zsh
\/
cache"
/etc/skel/.zshrc
# define theme
# define theme
sed
-i
's/^ZSH_THEME=.*/ZSH_THEME="risto"/'
/etc/skel/.zshrc
sed
-i
's/^ZSH_THEME=.*/ZSH_THEME="risto"/'
/etc/skel/.zshrc
# remove default plugins
# define default plugins
sed
-i
'/^ git.*/ d'
/etc/skel/.zshrc
sed
-i
's/^plugins=.*/plugins=(git git-extras debian tmux screen history extract colorize web-search docker)/'
/etc/skel/.zshrc
sed
-i
"/^plugins=.*/a git git-extras debian tmux screen history extract colorize web-search docker"
/etc/skel/.zshrc
# change shell for root
# change shell for root
chsh
-s
$(
grep
/zsh
$
/etc/shells |
tail
-1
)
chsh
-s
$(
grep
/zsh
$
/etc/shells |
tail
-1
)
# copy cache directory
# copy cache directory
...
...
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