removed unused stuff
This commit is contained in:
parent
676087bdb9
commit
a215ebb874
1 changed files with 0 additions and 17 deletions
17
.bashrc
17
.bashrc
|
@ -4,16 +4,6 @@ function echo_error() { echo -e "\033[0;1;31merror:\033[0;31m\t${*}\033[0m"; }
|
||||||
function echo_binfo() { echo -e "\033[0;1;34mInfo:\033[0;34m\t${*}\033[0m"; }
|
function echo_binfo() { echo -e "\033[0;1;34mInfo:\033[0;34m\t${*}\033[0m"; }
|
||||||
function echo_info() { echo -e "\033[0;35m${*}\033[0m"; }
|
function echo_info() { echo -e "\033[0;35m${*}\033[0m"; }
|
||||||
|
|
||||||
# ~/.bashrc: executed by bash(1) for non-login shells.
|
|
||||||
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
|
|
||||||
# for examples
|
|
||||||
|
|
||||||
# If not running interactively, don't do anything
|
|
||||||
# case $- in
|
|
||||||
# *i*) ;;
|
|
||||||
# *) return ;;
|
|
||||||
# esac
|
|
||||||
|
|
||||||
_sensible.bash_(){
|
_sensible.bash_(){
|
||||||
# Sensible Bash - An attempt at saner Bash defaults
|
# Sensible Bash - An attempt at saner Bash defaults
|
||||||
# Maintainer: mrzool <http://mrzool.cc>
|
# Maintainer: mrzool <http://mrzool.cc>
|
||||||
|
@ -146,15 +136,8 @@ _defaults_() {
|
||||||
*) ;;
|
*) ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Add an "alert" alias for long running commands. Use like so:
|
|
||||||
# sleep 10; alert
|
|
||||||
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
|
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
|
||||||
|
|
||||||
# Alias definitions.
|
|
||||||
# You may want to put all your additions into a separate file like
|
|
||||||
# ~/.bash_aliases, instead of adding them here directly.
|
|
||||||
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
|
|
||||||
|
|
||||||
if [ -f ~/.bash_aliases ]; then
|
if [ -f ~/.bash_aliases ]; then
|
||||||
. ~/.bash_aliases
|
. ~/.bash_aliases
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue