From e5e786e6a9c17a0ed8da77555509511a4d8b3c0e Mon Sep 17 00:00:00 2001 From: Raphael Naswaty Date: Fri, 21 Feb 2014 18:18:09 -0300 Subject: [PATCH 1/2] Added instructions for the alias command Created the alias.md file, containing some examples of the use of aliases. Hope you like. --- common/alias.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 common/alias.md diff --git a/common/alias.md b/common/alias.md new file mode 100644 index 000000000..48e87cda7 --- /dev/null +++ b/common/alias.md @@ -0,0 +1,26 @@ +# alias + +> Creates an alias for a word when used +> as the first word of a command + +- creating a generic alias + +`alias {{word}}="{{command}}"` + +- remove an aliased command + +`unalias {{word}}` + +- full list of aliased words + +`alias -p` + +> Some usefull alias commands + +- turning rm an interative command + +`alias {{rm}}="{{rm -i}}"` + +- overriding la as ls -a + +`alias {{la}}="{{ls -a}}"` \ No newline at end of file From 8c05b21d9af77a35ce335e264e379b2ed755c061 Mon Sep 17 00:00:00 2001 From: Raphael Naswaty Date: Sat, 22 Feb 2014 08:31:06 -0300 Subject: [PATCH 2/2] Fixing arbitrary markdown Reformated for fixing the arbitrary markdown --- common/alias.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/alias.md b/common/alias.md index 48e87cda7..19adaa6e7 100644 --- a/common/alias.md +++ b/common/alias.md @@ -15,8 +15,6 @@ `alias -p` -> Some usefull alias commands - - turning rm an interative command `alias {{rm}}="{{rm -i}}"`