add init-dotfiles for easier setup
This commit is contained in:
parent
d105417d06
commit
5fabdedefc
2 changed files with 11 additions and 0 deletions
|
@ -11,6 +11,10 @@ You will need atleast following packages for it to work
|
|||
|
||||
### Getting started
|
||||
|
||||
If you wanna use my zsh config, you have to properly prepare the ZDOTDIR enviornment, for this use the *init-dotfiles* provided. **CAUTION: This does need root!**
|
||||
|
||||
`sudo ./init-dotfiles`
|
||||
|
||||
For stow to restore the old state you have to run following command.
|
||||
|
||||
`git clone https://git.snrd.eu/Spaenny/dotfiles.git && cd dotfiles`
|
||||
|
|
7
init-dotfiles
Executable file
7
init-dotfiles
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Setup .zshrc folder in .config for zsh to work
|
||||
echo 'ZDOTDIR=$XDG_CONFIG_HOME/zsh/' >> /etc/zsh/zshenv
|
||||
|
||||
# Create folder for history
|
||||
mkdir -p $(dirname "$HISTFILE")
|
Loading…
Reference in a new issue