fix install script

This commit is contained in:
thek4n 2024-11-05 20:07:33 +03:00
parent 7a86d25fb4
commit 79ccb183ef
2 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,8 @@
readonly TARGETS="\
colors:.config/terminal-colors.d
tmux:.config/tmux .tmux .config/systemd/user/tmux.service .local/bin/tmux_start_session.sh .local/bin/tmux_list_sessions.sh .local/bin/tmux_attach_session.sh .local/bin/tmux_kill_sessions.sh
zsh:.config/zsh .zshenv .inputrc .local/bin/t %colors
t:.local/bin/t
zsh:.config/zsh .zshenv .inputrc %t %colors
alacritty:.config/alacritty
nvim:.config/nvim .editorconfig .inputrc .editrc .local/bin/vim_askpass_helper
ssh:

View File

@ -35,7 +35,7 @@ map_get_value() (
map="${1}"
key="${2}"
echo "${map}" | grep "${key}:" | cut -d ':' -f2
echo "${map}" | grep "^${key}:" | cut -d ':' -f2
)
map_get_keys() (
@ -48,7 +48,7 @@ map_key_exists() (
map="${1}"
key="${2}"
map_get_keys "${map}" | grep "${2}" 1>/dev/null
map_get_keys "${map}" | grep "^${2}" 1>/dev/null
)
_link_files_in_sandbox() (