瀏覽代碼

Add another useless alias

Alois Mahdal 11 年之前
父節點
當前提交
f5b9f17bef
共有 1 個檔案被更改,包括 9 行新增0 行删除
  1. 9
    0
      dotfiles/bash/global-before.bashrc

+ 9
- 0
dotfiles/bash/global-before.bashrc 查看文件

17
     fi
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
 ### BASH ###
29
 ### BASH ###
22
 ### '''' ###
30
 ### '''' ###
27
 export GLOBIGNORE=.:..
35
 export GLOBIGNORE=.:..
28
 
36
 
29
 # some more aliases
37
 # some more aliases
38
+alias cls='clear_to_bottom'
30
 alias ll='ls -lh'
39
 alias ll='ls -lh'
31
 alias lla='ls -lha'
40
 alias lla='ls -lha'
32
 alias open='gnome-open'
41
 alias open='gnome-open'