ref(install-script)
This commit is contained in:
parent
4e4561a196
commit
c336a24cae
11
install
11
install
@ -3,14 +3,17 @@
|
|||||||
set -ueo pipefail
|
set -ueo pipefail
|
||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
|
|
||||||
readonly TARGET_PATH="$HOME"
|
declare TARGET_PATH DOTFILES_ROOT SUB
|
||||||
|
|
||||||
readonly DOTFILES_ROOT="$(pwd)"
|
TARGET_PATH="$HOME"
|
||||||
readonly SUB="$DOTFILES_ROOT/home/user"
|
DOTFILES_ROOT="$(pwd)"
|
||||||
|
SUB="$DOTFILES_ROOT/home/user"
|
||||||
|
|
||||||
|
readonly TARGET_PATH DOTFILES_ROOT SUB
|
||||||
export SUB
|
export SUB
|
||||||
|
|
||||||
|
|
||||||
declare -A TARGETS=(
|
declare -r -A TARGETS=(
|
||||||
["bash"]=".config/bash .bashrc .profile"
|
["bash"]=".config/bash .bashrc .profile"
|
||||||
["zsh"]="%bash .config/zsh .zshrc .zprofile .zlogout .inputrc"
|
["zsh"]="%bash .config/zsh .zshrc .zprofile .zlogout .inputrc"
|
||||||
["tmux"]=".tmux.conf"
|
["tmux"]=".tmux.conf"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user