diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-11-29 18:08:39 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-11-29 18:08:39 +0300 |
commit | ea06b4232fdd0bade43e046955f02bf0815a5a7e (patch) | |
tree | 9abbdfa9112907749723d534d423edd903f22e8f | |
parent | sums_update_all: bugfix (diff) | |
download | linux-home-ea06b4232fdd0bade43e046955f02bf0815a5a7e.tar.gz linux-home-ea06b4232fdd0bade43e046955f02bf0815a5a7e.zip |
add an alias to clear the screen
-rw-r--r-- | %HOME%/.bash_logout | 1 | ||||
-rw-r--r-- | %HOME%/.bashrc | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/%HOME%/.bash_logout b/%HOME%/.bash_logout new file mode 100644 index 0000000..9bf0c89 --- /dev/null +++ b/%HOME%/.bash_logout @@ -0,0 +1 @@ +type cls > /dev/null 2>&1 && cls diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc index e1ebfe7..d8c709a 100644 --- a/%HOME%/.bashrc +++ b/%HOME%/.bashrc @@ -37,6 +37,8 @@ alias dir='ls --format=vertical' alias less='less --ignore-case --RAW-CONTROL-CHARS' alias tree='tree -a' +alias cls='echo -en "\ec"' + is_cygwin && alias list_packages='cygcheck -cd' [ -r "$HOME/.bash_utils/cxx.sh" ] && source "$HOME/.bash_utils/cxx.sh" |