Thingies in a parallel universe
This commit is contained in:
parent
aa493e63df
commit
291597424b
8
bashrc
8
bashrc
|
@ -46,8 +46,6 @@ alias dmesg='dmesg --ctime'
|
||||||
|
|
||||||
# Frequent mistakes
|
# Frequent mistakes
|
||||||
alias systemclt=systemctl
|
alias systemclt=systemctl
|
||||||
alias docker='sudo docker'
|
|
||||||
alias docker-compose='sudo docker-compose'
|
|
||||||
|
|
||||||
# Shortcuts for commonly used commands
|
# Shortcuts for commonly used commands
|
||||||
alias ll="ls -l $LS_OPTIONS"
|
alias ll="ls -l $LS_OPTIONS"
|
||||||
|
@ -119,7 +117,7 @@ fuck() {
|
||||||
if which thefuck &> /dev/null
|
if which thefuck &> /dev/null
|
||||||
then
|
then
|
||||||
eval $(thefuck --alias)
|
eval $(thefuck --alias)
|
||||||
fuck
|
fuck $@
|
||||||
else
|
else
|
||||||
echo "thefuck is not installed on this system."
|
echo "thefuck is not installed on this system."
|
||||||
fi
|
fi
|
||||||
|
@ -128,12 +126,12 @@ alias FUCK='fuck'
|
||||||
|
|
||||||
# Node Version Manager
|
# Node Version Manager
|
||||||
nvm() {
|
nvm() {
|
||||||
|
export NVM_DIR="$HOME/.nvm"
|
||||||
if [ -s "$NVM_DIR/nvm.sh" ]
|
if [ -s "$NVM_DIR/nvm.sh" ]
|
||||||
then
|
then
|
||||||
. "$NVM_DIR/nvm.sh"
|
. "$NVM_DIR/nvm.sh"
|
||||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
|
||||||
export NVM_DIR="$HOME/.nvm"
|
nvm $@
|
||||||
nvm
|
|
||||||
else
|
else
|
||||||
echo "NVM is not installed on this system."
|
echo "NVM is not installed on this system."
|
||||||
fi
|
fi
|
||||||
|
|
2
inputrc
2
inputrc
|
@ -8,9 +8,11 @@ set keymap vi-command
|
||||||
# these are for vi-command mode
|
# these are for vi-command mode
|
||||||
"\e[A": history-search-backward
|
"\e[A": history-search-backward
|
||||||
"\e[B": history-search-forward
|
"\e[B": history-search-forward
|
||||||
|
Control-l: clear-screen
|
||||||
set keymap vi-insert
|
set keymap vi-insert
|
||||||
# these are for vi-insert mode
|
# these are for vi-insert mode
|
||||||
"\e[A": history-search-backward
|
"\e[A": history-search-backward
|
||||||
"\e[B": history-search-forward
|
"\e[B": history-search-forward
|
||||||
|
Control-l: clear-screen
|
||||||
$endif
|
$endif
|
||||||
|
|
||||||
|
|
|
@ -164,6 +164,8 @@ function altInst {
|
||||||
|
|
||||||
# Common CLI
|
# Common CLI
|
||||||
|
|
||||||
|
.Xresources.d/configure
|
||||||
|
|
||||||
# Utils
|
# Utils
|
||||||
inst coreutils man openssl-tool grep sed sh tar
|
inst coreutils man openssl-tool grep sed sh tar
|
||||||
if [ $TERMUX == 1 ]; then
|
if [ $TERMUX == 1 ]; then
|
||||||
|
@ -180,7 +182,7 @@ else
|
||||||
fi
|
fi
|
||||||
if [[ $ARCH == 1 && $ADMIN == 1 ]]; then
|
if [[ $ARCH == 1 && $ADMIN == 1 ]]; then
|
||||||
inst pkgfile
|
inst pkgfile
|
||||||
systemctl enable pkgfile-update.timer
|
sudo systemctl enable pkgfile-update.timer
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Dev
|
# Dev
|
||||||
|
@ -227,7 +229,7 @@ python $HOME/.vim/bundle/YouCompleteMe/install.py $YCM_ARGS
|
||||||
|
|
||||||
if [ $GUI == 1 ]; then
|
if [ $GUI == 1 ]; then
|
||||||
# Desktop manager
|
# 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
|
if [ $DEBIAN == 1 ]; then
|
||||||
inst suckless-tools
|
inst suckless-tools
|
||||||
if [ $ADMIN == 0 ]; then
|
if [ $ADMIN == 0 ]; then
|
||||||
|
@ -285,7 +287,7 @@ if [ $EXTRA == 1 ]; then
|
||||||
|
|
||||||
# Extra GUI
|
# Extra GUI
|
||||||
if [ $GUI == 1 ]; then
|
if [ $GUI == 1 ]; then
|
||||||
inst vlc gimp mpd vimpc
|
inst vlc gimp mpd vimpc alsa-utils
|
||||||
|
|
||||||
if [ $ARCH == 1 ]; then
|
if [ $ARCH == 1 ]; then
|
||||||
inst simplescreenrecorder
|
inst simplescreenrecorder
|
||||||
|
|
Loading…
Reference in a new issue