Browse Source

Remove unnecessary alias that's in user scripts

master
Micah Halter 9 months ago
parent
commit
fcfdd73e1d
Signed by: mehalter GPG Key ID: 4224A6EA9A8CAAA8
  1. 23
      bash/.bash_aliases

23
bash/.bash_aliases

@ -57,29 +57,6 @@ crun() { make "$1"; ./$1;}
backup() { cp "$1"{,.bak};}
md5check() { md5sum "$1" | grep "$2";}
ctree() { cd "$1"; ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'; cd -; }
extract() {
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xjf $1 ;;
*.tar.gz) tar xzf $1 ;;
*.tar.xz) tar xf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) unrar e $1 ;;
*.gz) gunzip $1 ;;
*.tar) tar xf $1 ;;
*.tbz2) tar xjf $1 ;;
*.tgz) tar xzf $1 ;;
*.txz) tar xf $1 ;;
*.zip) unzip $1 ;;
*.z) uncompress $1 ;;
*.7z) 7z x $1 ;;
*.jar) jar xf $1 ;;
*) echo "'$1' cannot be extracted via extract()"
esac
else
echo "'$1' is not a valid file"
fi
}
#C compiling shortcuts for clang and gcc
clang() {

Loading…
Cancel
Save