This commit is contained in:
parent
dd9a54dc8b
commit
a70c53b258
@ -17,7 +17,7 @@ shopt -s histappend
|
||||
shopt -s cdspell
|
||||
|
||||
# solarized directory color listings
|
||||
eval `dircolors $HOME/.dir_colors`
|
||||
# eval `dircolors $HOME/.dir_colors`
|
||||
|
||||
# tmuxifier
|
||||
eval "$(starship init bash)"
|
||||
# eval "$(starship init bash)"
|
||||
|
@ -44,8 +44,7 @@ fi
|
||||
# work around for fzf
|
||||
set -o vi
|
||||
|
||||
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
|
||||
|
||||
eval "$(fzf --bash)"
|
||||
# tmuxifier
|
||||
eval "$(tmuxifier init -)"
|
||||
|
||||
|
11
install.sh
11
install.sh
@ -20,11 +20,13 @@ if [[ -f /etc/os-release ]]; then
|
||||
echo "Running on debian-family.."
|
||||
package_manager=apt
|
||||
vim="vim-nox"
|
||||
ansible="ansible"
|
||||
;;
|
||||
fedora)
|
||||
echo "Running on debian-family.."
|
||||
package_manager=fedora
|
||||
echo "Running on rpm-family.."
|
||||
package_manager=dnf
|
||||
vim="vim-enhanced"
|
||||
ansible="ansible-core"
|
||||
esac
|
||||
else
|
||||
echo "You are running an unrecognized family of os. Quitting..."
|
||||
@ -34,7 +36,7 @@ fi
|
||||
# could have used a case, but i prefer the if statement
|
||||
if [[ -z "$1" ]]; then
|
||||
echo "Installing packages"
|
||||
sudo "$package_manager" install -y "$vim" git stow curl ranger tmux
|
||||
sudo "$package_manager" install -y "$vim" git stow curl ranger tmux "$ansible"
|
||||
|
||||
# use gnu stow to symlink config files to home directory
|
||||
stow bash git ranger shellenv tmux vim
|
||||
@ -52,4 +54,5 @@ elif [[ "$1" = "help" ]]; then
|
||||
usage
|
||||
fi
|
||||
|
||||
|
||||
# extras for tmux
|
||||
git cloen https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
||||
|
@ -14,3 +14,7 @@ pdfmerge() {
|
||||
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dPDFSETTTINGS=/prepress\
|
||||
-sOutputFile=$@ ;
|
||||
}
|
||||
|
||||
apdoc () {
|
||||
ansible-doc $1 | grep EXAMPLES -A 100 | less
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user