diff --git a/020_hexchat.sh b/020_hexchat.sh index e049670..231b577 100755 --- a/020_hexchat.sh +++ b/020_hexchat.sh @@ -1,7 +1,8 @@ #!/usr/bin/env bash apt-get -y install hexchat -HEXCHAT_HOME=$HOME/.config/hexchat +#HEXCHAT_HOME=$HOME/.config/hexchat +HEXCHAT_HOME=/etc/skel/.config/hexchat mkdir -p ${HEXCHAT_HOME} cat > ${HEXCHAT_HOME}/chanopt.conf <<'EOF' diff --git a/020_mutt-notmuch-afew.sh b/020_mutt-notmuch-afew.sh index 5beace5..4c20dbd 100755 --- a/020_mutt-notmuch-afew.sh +++ b/020_mutt-notmuch-afew.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash ## an initial tagging script for notmuch mail +# https://afew.readthedocs.io/en/latest/ #FIXME: NOT TESTED YET needs notmuch-mutt installed first #FIXME: add afew tagging: https://readthedocs.org/projects/afew/downloads/pdf/latest/ diff --git a/020_zsh_aliases.d.sh b/020_zsh_aliases.d.sh index 47e11c2..b96b771 100755 --- a/020_zsh_aliases.d.sh +++ b/020_zsh_aliases.d.sh @@ -1,11 +1,11 @@ #!/usr/bin/env bash -mkdir -p ${HOME}/.zsh_aliases.d +DEST=/etc/skel +mkdir -p ${DEST}/.zsh_aliases.d +ALIAS_FILE=${DEST}/.zsh_aliases -ALIAS_FILE=${HOME}/.zsh_aliases cat >> ${ALIAS_FILE} <<'EOF' - # Enable .zsh_aliases.d to keep aliases separate from env variables if [ -d ~/.zsh_aliases.d ]; then for f (~/.zsh_aliases.d/**/*(N.)) . $f @@ -13,10 +13,10 @@ fi EOF # tell bash to check the next word after the alias (i.e sudo) by adding a space to the end of the alias value. -echo "# tell bash to check the next word after the alias (i.e sudo) by adding a space to the end of the alias value." > ~/.zsh_aliases.d/002_sudo.zsh -echo 'alias sudo="sudo "' >> ~/.zsh_aliases.d/002_sudo.zsh +echo "# tell bash to check the next word after the alias (i.e sudo) by adding a space to the end of the alias value." > ${DEST}/.zsh_aliases.d/002_sudo.zsh +echo 'alias sudo="sudo "' >> ${DEST}/.zsh_aliases.d/002_sudo.zsh -cat > ~/.zsh_aliases.d/003_py-aliases.zsh << 'EOF' +cat > ${DEST}/.zsh_aliases.d/003_py-aliases.zsh << 'EOF' _py_version() { PY_VERSIONS=(2 3) @@ -124,7 +124,7 @@ transfer() { EOF -ALIAS_FILE=${HOME}/.zsh_aliases.d/003_local.sh +ALIAS_FILE=${DEST}/.zsh_aliases.d/003_local.sh cat > ${ALIAS_FILE} <<'EOF' alias locate='locate --existing --follow --basename --ignore-case' alias wget="wget --content-disposition -c" @@ -136,11 +136,11 @@ alias less="less -R" alias youtube-dl='youtube-dl --external-downloader=aria2c' EOF -ALIAS_FILE=${HOME}/.zsh_aliases.d/003_lsd.sh +ALIAS_FILE=${DEST}/.zsh_aliases.d/003_lsd.sh cat > ${ALIAS_FILE} <<'EOF' if [ -x /usr/bin/lsd ]; then alias lsd="/usr/bin/lsd" - alias 'ls'="lsd" +# alias 'ls'="lsd" alias 'll'="lsd -a" alias 'lt'="lsd --tree" fi