18 lines
530 B
Bash
Executable File
18 lines
530 B
Bash
Executable File
#!/bin/zsh
|
|
|
|
mkdirs_before_copying_config_files() {
|
|
[[ ! -d $HOME/.config ]] && mkdir $HOME/.config
|
|
[[ ! -d $HOME/.local ]] && mkdir $HOME/.local
|
|
[[ ! -d $HOME/.local/bin ]] && mkdir $HOME/.local/bin
|
|
[[ ! -d $HOME/.local/build ]] && mkdir $HOME/.local/build
|
|
[[ ! -d $HOME/.local/tmp ]] && mkdir $HOME/.local/tmp
|
|
}
|
|
|
|
mkdirs_after_setting_shell_env_vars() {
|
|
[[ ! -d $HOMEBOX ]] && mkdir $HOMEBOX
|
|
[[ ! -d $DEVDIR ]] && mkdir $DEVDIR
|
|
}
|
|
|
|
mkdirs_before_copying_config_files
|
|
mkdirs_after_setting_shell_env_vars
|