Skip to content

Commit

Permalink
Fixed my bashrc a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
ifohancroft committed Jul 22, 2021
1 parent 388730e commit 2815622
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .bashrc
Original file line number Diff line number Diff line change
@@ -1,24 +1,14 @@
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

alias search='googler --url-handler dumpContent google'
alias dotfiles='git --git-dir=$XDG_DATA_HOME/dotfiles/ --work-tree=$HOME'
alias ls='ls --color=auto --group-directories-first'
alias diff='diff --color=auto'
alias grep='grep --color=auto'
alias nvidia-settings='nvidia-settings --config="$XDG_CONFIG_HOME"/nvidia/settings'
alias weechat='weechat -d "$XDG_CONFIG_HOME"/weechat'
alias ugly-dotfiles="ls -a | grep -v 'Assets\|.cache\|Desktop\|Music\|Public\|.config\|Documents\|Downloads\|Games\|.local\|Pictures\|Projects\|Templates\|Videos'"
alias gpg2='gpg2 --homedir "$XDG_DATA_HOME"/gnupg'
alias checkSpace='ncdu'

shopt -s histappend

if [ "$TERM" = "xterm" ]; then
PS1='echo -ne "\033]2;XTerm: ${PWD/#$HOME/\~}\233"'
fi
PS1="[\u@\h \w]\\$ "

# Clear scrollback and reset
#bind -x '"\C-k":printf "\e[2J\e[3J\e[;H"'
bind -x '"\C-k":printf "\e[2J\e[3J\e[;H"'

0 comments on commit 2815622

Please sign in to comment.