From 3b1800c7ff6bbd9f3728c33aaa53d3314aca66c3 Mon Sep 17 00:00:00 2001 From: Yilen Date: Thu, 8 Oct 2015 21:54:32 -0700 Subject: [PATCH] added addalias alias which adds alias and command to bash_profile --- bash_profile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bash_profile b/bash_profile index b6fc16e..d4522d6 100644 --- a/bash_profile +++ b/bash_profile @@ -96,6 +96,14 @@ tosu () { osu "$1" } +# adds alias to .bash_profile +addalias () { + echo "alias $1=\"$2\"" >> ~/.bash_profile;r +} + +# deletes folder +alias rmf="rm -rf" + # Run python's simple server alias serve="python -m SimpleHTTPServer"