box-setup/pre_run_01

12 lines
369 B
Plaintext
Raw Normal View History

#!/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_before_copying_config_files