Thingies in a parallel universe

This commit is contained in:
Geoffrey Frogeye 2017-06-27 09:19:26 +02:00
parent aa493e63df
commit 291597424b
3 changed files with 10 additions and 8 deletions

8
bashrc
View file

@ -46,8 +46,6 @@ alias dmesg='dmesg --ctime'
# Frequent mistakes
alias systemclt=systemctl
alias docker='sudo docker'
alias docker-compose='sudo docker-compose'
# Shortcuts for commonly used commands
alias ll="ls -l $LS_OPTIONS"
@ -119,7 +117,7 @@ fuck() {
if which thefuck &> /dev/null
then
eval $(thefuck --alias)
fuck
fuck $@
else
echo "thefuck is not installed on this system."
fi
@ -128,12 +126,12 @@ alias FUCK='fuck'
# Node Version Manager
nvm() {
export NVM_DIR="$HOME/.nvm"
if [ -s "$NVM_DIR/nvm.sh" ]
then
. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
export NVM_DIR="$HOME/.nvm"
nvm
nvm $@
else
echo "NVM is not installed on this system."
fi

View file

@ -8,9 +8,11 @@ set keymap vi-command
# these are for vi-command mode
"\e[A": history-search-backward
"\e[B": history-search-forward
Control-l: clear-screen
set keymap vi-insert
# these are for vi-insert mode
"\e[A": history-search-backward
"\e[B": history-search-forward
Control-l: clear-screen
$endif

View file

@ -164,6 +164,8 @@ function altInst {
# Common CLI
.Xresources.d/configure
# Utils
inst coreutils man openssl-tool grep sed sh tar
if [ $TERMUX == 1 ]; then
@ -180,7 +182,7 @@ else
fi
if [[ $ARCH == 1 && $ADMIN == 1 ]]; then
inst pkgfile
systemctl enable pkgfile-update.timer
sudo systemctl enable pkgfile-update.timer
fi
# Dev
@ -227,7 +229,7 @@ python $HOME/.vim/bundle/YouCompleteMe/install.py $YCM_ARGS
if [ $GUI == 1 ]; then
# Desktop manager
inst i3 i3lock i3status dunst unclutter xautolock feh numlockx scrot
inst i3 i3lock i3status dunst unclutter xautolock feh numlockx scrot xterm xclip
if [ $DEBIAN == 1 ]; then
inst suckless-tools
if [ $ADMIN == 0 ]; then
@ -285,7 +287,7 @@ if [ $EXTRA == 1 ]; then
# Extra GUI
if [ $GUI == 1 ]; then
inst vlc gimp mpd vimpc
inst vlc gimp mpd vimpc alsa-utils
if [ $ARCH == 1 ]; then
inst simplescreenrecorder