Browse Source

Add another useless alias

Alois Mahdal 11 years ago
parent
commit
f5b9f17bef
1 changed files with 9 additions and 0 deletions
  1. 9
    0
      dotfiles/bash/global-before.bashrc

+ 9
- 0
dotfiles/bash/global-before.bashrc View File

@@ -17,6 +17,14 @@ git() {
17 17
     fi
18 18
 }
19 19
 
20
+clear_to_bottom() {
21
+    clear
22
+    for ((i=1; i<=$LINES; i++));
23
+    do
24
+        echo "$n"
25
+    done
26
+}
27
+
20 28
 ### .... ###
21 29
 ### BASH ###
22 30
 ### '''' ###
@@ -27,6 +35,7 @@ export HISTIGNORE="$HISTIGNORE:git ap:git cm:git cma:git dc:git st"
27 35
 export GLOBIGNORE=.:..
28 36
 
29 37
 # some more aliases
38
+alias cls='clear_to_bottom'
30 39
 alias ll='ls -lh'
31 40
 alias lla='ls -lha'
32 41
 alias open='gnome-open'