fix install script
This commit is contained in:
parent
7a86d25fb4
commit
79ccb183ef
@ -1,7 +1,8 @@
|
|||||||
readonly TARGETS="\
|
readonly TARGETS="\
|
||||||
colors:.config/terminal-colors.d
|
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
|
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
|
alacritty:.config/alacritty
|
||||||
nvim:.config/nvim .editorconfig .inputrc .editrc .local/bin/vim_askpass_helper
|
nvim:.config/nvim .editorconfig .inputrc .editrc .local/bin/vim_askpass_helper
|
||||||
ssh:
|
ssh:
|
||||||
|
|||||||
4
install
4
install
@ -35,7 +35,7 @@ map_get_value() (
|
|||||||
map="${1}"
|
map="${1}"
|
||||||
key="${2}"
|
key="${2}"
|
||||||
|
|
||||||
echo "${map}" | grep "${key}:" | cut -d ':' -f2
|
echo "${map}" | grep "^${key}:" | cut -d ':' -f2
|
||||||
)
|
)
|
||||||
|
|
||||||
map_get_keys() (
|
map_get_keys() (
|
||||||
@ -48,7 +48,7 @@ map_key_exists() (
|
|||||||
map="${1}"
|
map="${1}"
|
||||||
key="${2}"
|
key="${2}"
|
||||||
|
|
||||||
map_get_keys "${map}" | grep "${2}" 1>/dev/null
|
map_get_keys "${map}" | grep "^${2}" 1>/dev/null
|
||||||
)
|
)
|
||||||
|
|
||||||
_link_files_in_sandbox() (
|
_link_files_in_sandbox() (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user