bashrc cleanup

This commit is contained in:
2015-05-20 22:14:29 -06:00
parent a5b0dd7e75
commit fec8034c06
+11 -12
View File
@@ -1,14 +1,12 @@
# /etc/skel/.bashrc #!/bin/bash
#
# This file is sourced by all *interactive* bash shells on startup,
# including some apparently interactive shells such as scp and rcp
# that can't tolerate any output. So make sure this doesn't display
# anything or bad things will happen !
### ~/.bashrc #######################
#####################################
## eric at ewpt3ch.com ##############
## dotfiles on github.com ewpt3ch ###
#####################################
# Test for an interactive shell. There is no need to set anything ### test for interactive shell
# past this point for scp and rcp, and it's important to refrain from
# outputting anything in those cases.
if [[ $- != *i* ]] ; then if [[ $- != *i* ]] ; then
# Shell is non-interactive. Be done now! # Shell is non-interactive. Be done now!
return return
@@ -18,9 +16,10 @@ fi
#source /etc/profile.d/bash-completion.sh #source /etc/profile.d/bash-completion.sh
source ~/todo.txt-cli/todo_completion source ~/todo.txt-cli/todo_completion
#pacman aliases #pacman aliases
alias pacupg='sudo pacman -Syu' alias pacman='sudo pacman'
alias pacins='sudo pacman -U' alias pacupg='pacman -Syu'
alias emacs='emacs -nw' alias pacins='pacman -U'
#
alias t='clear && $HOME/Dropbox/todo/todo.sh -d $HOME/Dropbox/todo/todo.cfg' alias t='clear && $HOME/Dropbox/todo/todo.sh -d $HOME/Dropbox/todo/todo.cfg'
alias nano='nano -w' alias nano='nano -w'
alias ls='ls --color=auto' alias ls='ls --color=auto'