Skip to content

Commit

Permalink
Minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jfmercer committed Nov 14, 2023
1 parent f247c0c commit afe29e3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
11 changes: 11 additions & 0 deletions .chezmoiscripts/linux/run_onchange_before_10_installs.sh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ sudo apt update

packages=(
"bat"
"colordiff"
"expect" # needed to set shell on Parrot
"fzf"
"gh"
Expand All @@ -33,13 +34,16 @@ packages=(
"universal-ctags"
"vim"
"wget"
"xclip"
)

# security only packages
# this separate list helps with Github CI to pass
{{ if or (eq .osid "linux-kali") (eq .osid "linux-parrot") }}

sec_packages=(
"burpsuite"
"gobuster"
"seclists"
)
packages+=("${sec_packages[@]}")
Expand Down Expand Up @@ -90,5 +94,12 @@ for pkg in "${rm_packages[@]}"; do
fi
done

# Linux specific aliases
cat <<EOF > $DOTFILES/system/linux.zsh
alias pbcopy='xclip -selection clipboard'
alias pbpaste='xclip -selection clipboard -o'
# Debian links bat as batcat
alias bat='batcat'
EOF

{{- end -}}
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ python3 -m pip install --no-input arsenal-cli
# Load default MATE terminal settings
dbus-launch dconf load /org/mate/terminal/ < $DOTFILES/terminal/MATE.terminal

# Linux specific aliases
cat <<EOF > $DOTFILES/system/linux.zsh
alias pbcopy='xclip -selection clipboard'
alias pbpaste='xclip -selection clipboard -o'
EOF

# Replace nvim with real vim
sudo update-alternatives --remove vim /usr/bin/nvim
sudo apt install -y vim
Expand Down

0 comments on commit afe29e3

Please sign in to comment.