dotfiles

andersuno dotfiles
Log | Files | Refs

commit 0bebc0bab28aad5ef339e6d13845ad5cfed3774b
parent 7c118bbdf57e613f58825ea34655705e84bea887
Author: andersuno <anders.hedman01@gmail.com>
Date:   Fri,  8 Nov 2019 14:38:23 +0100

 Changes to be committed:
	modified:   .bash_aliases
	modified:   .bashrc

Diffstat:
A.bash_aliases | 13+++++++++++++
A.bashrc | 68++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 81 insertions(+), 0 deletions(-)

diff --git a/.bash_aliases b/.bash_aliases @@ -0,0 +1,13 @@ +alias ll='ls -la' +alias lsl='ls -l' +alias pacman='sudo pacman' +alias reb='sudo reboot' +alias shut='sudo shutdown now' +alias grep='grep --color=auto' + +#Commands/Scripts +alias x='startx' +alias findt='sudo find / -path /timeshift -prune -o' +alias timeshiftsync='/home/anders/Scripts/timeshiftsync.sh' +alias vifm='/home/anders/.config/vifm/scripts/vifmrun' +alias dotgit='/usr/bin/git --git-dir=$HOME/Repos/dotfiles.git --work-tree=$HOME' diff --git a/.bashrc b/.bashrc @@ -0,0 +1,68 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +alias ls='ls --color=auto' +PS1='[\u@\h \W]\$ ' + +if [ -f ~/.bash_aliases ]; then + . ~/.bash_aliases +fi + +if [ -f ~/.bash_sshhosts ]; then + . ~/.bash_sshhosts +fi + +#Foreground colors, Normal (non-bold) is the default, so the 0; prefix is optional. +# +#\e[0;30m = Dark Gray +#\e[1;30m = Bold Dark Gray +#\e[0;31m = Red +#\e[1;31m = Bold Red +#\e[0;32m = Green +#\e[1;32m = Bold Green +#\e[0;33m = Yellow +#\e[1;33m = Bold Yellow +#\e[0;34m = Blue +#\e[1;34m = Bold Blue +#\e[0;35m = Purple +#\e[1;35m = Bold Purple +#\e[0;36m = Turquoise +#\e[1;36m = Bold Turquoise +#\e[0;37m = Light Gray +#\e[1;37m = Bold Light Gray +# +#Background colors: +# +#\e[40m = Dark Gray +#\e[41m = Red +#\e[42m = Green +#\e[43m = Yellow +#\e[44m = Blue +#\e[45m = Purple +#\e[46m = Turquoise +#\e[47m = Light Gray + +set -o vi + +PATH=$PATH:/usr/sbin +PATH=$PATH:/home/anders/.vim/bundle +PATH=$PATH:/usr/lib + +#Exports +#export PS1='┌──[\u@\h]─[\w]\n└──╼ \$ ' +#export PS1='\[\033[0;32m\]\u\[\033[1;33m\]@\[\033[0;31m\]\h\[\033[0m\]:\[\033[0;34m\]\w\[\033[0m\]\$ ' + +export PS1="\[\e[1;32m\]┌──[\[\e[0;36m\]\u\[\e[0;32m\]@\[\e[0;31m\]\h\[\e[1;32m\]]─[\[\e[0;34m\]\w\[\e[1;32m\]]\n\[\e[1;32m\]└──╼ \$\[\e[0;0m\] " +#export PS1="\[\e[1;32m\][\[\e[0;36m\]\u\[\e[0;32m\]@\[\e[0;31m\]\h\[\e[1;32m\]]─[\[\e[0;34m\]\w\[\e[1;32m\]]\$\[\e[0;0m\] " + +export RANGER_LOAD_DEFAULT_RC=FALSE +export EDITOR="vim" +export SUDO_EDITOR="vim" +export VISUAL="vim" +export XDG_CONFIG_HOME=$HOME/.config + +~/Scripts/pfetch