~andreafeletto/dotfiles

ec341d289a37b9c6f02f9aaddabbc5c83170e974 — Andrea Feletto 3 years ago 2dcd96d
update
4 files changed, 9 insertions(+), 25 deletions(-)

M bash/.bash_aliases
M bash/.bashrc
M sh/.profile
M x11/.xinitrc
M bash/.bash_aliases => bash/.bash_aliases +0 -16
@@ 16,17 16,6 @@ alias chmod='chmod -v'
alias ll='ls -ahnvL --group-directories-first --color=auto'
alias lll='ls -ahnv --group-directories-first --color=auto'
alias grep='grep --color=auto'
alias less='less -N'

for Conf in \
	'.bashrc':bashrc \
	'.bash_aliases':bashaliases \
	'.profile':profile \
	'.config/nvim/init.vim':vimrc \
	'.config/sxhkd/sxhkdrc':sxhkdrc
do
	[ -r "$HOME/${Conf%:*}" ] && alias ${Conf/*:}="$EDITOR $HOME/${Conf%:*}"
done

if type -fP rmtrash &> /dev/null; then
    alias rm='rmtrash -v'


@@ 43,11 32,6 @@ if type -fP git &> /dev/null; then
    alias gl='git log --graph --pretty=oneline --abbrev-commit'
fi

if type -fP nvim &> /dev/null; then
    alias vim='nvim'
fi

if type -fP tree &> /dev/null; then
    alias tree='tree -ahC --dirsfirst -I .git'
fi


M bash/.bashrc => bash/.bashrc +4 -6
@@ 11,13 11,11 @@ shopt -s autocd
shopt -s cdspell
shopt -s cmdhist

BCPath='/usr/share/bash-completion/bash_completion'
[ -r "$BCPath" ] && . "$BCPath"
unset BCPah
bashcomp='/usr/share/bash-completion/bash_completion'
[ -r "$bashcomp" ] && . "$bashcomp"

APath="$HOME/.bash_aliases"
[ -r "$APath" ] && . "$APath"
unset APath
aliases="$HOME/.bash_aliases"
[ -r "$aliases" ] && . "$aliases"

HISTCONTROL=erasedups:ignoreboth
HISTSIZE=

M sh/.profile => sh/.profile +3 -1
@@ 37,6 37,9 @@ export GOPATH="$XDG_DATA_HOME/go"
# Gramps
export GRAMPSHOME="$XDG_CONFIG_HOME"

# Hexer
export HEXERRC="$XDG_CONFIG_HOME/hexer/hexerrc"

# IPython
export IPYTHONDIR="$XDG_CONFIG_HOME/ipython"



@@ 92,7 95,6 @@ export WGETRC="$XDG_CONFIG_HOME/wgetrc"

PATH="$PATH:$HOME/.local/bin"
PATH="$PATH:$HOME/.local/cargo/bin"
PATH="$PATH:$HOME/.local/maple2020/bin"
PATH="$PATH:$GOPATH/bin"
PATH="$PATH:$GEM_HOME/bin"
PATH="$PATH:$XDG_DATA_HOME/npm/bin"

M x11/.xinitrc => x11/.xinitrc +2 -2
@@ 9,9 9,9 @@ setxkbmap -option "caps:swapescape"
export _JAVA_AWT_WM_NONREPARENTING='1'

sxhkd &
cstatus &
cstatus >/dev/null &
nm-applet &
udiskie --automount --no-notify --smart-tray &
udiskie --automount --no-notify --smart-tray --menu flat &
blueman-applet &
twmnd &