largefiles tweaks

This commit is contained in:
Christoph J. Scherr 2023-02-04 17:14:57 +01:00
parent 18eb884cfa
commit deae930d72
2 changed files with 5 additions and 2 deletions

View File

@ -14,8 +14,9 @@ alias grep="grep --color"
alias egrep="grep -E"
alias lgrep="find | grep"
alias psgrep="ps axu | grep"
alias largefiles='du -h ./DATEN | grep -P "\d+\.\d+(G|T)\"'
alias isotime='date +"%Y-%m-%dT%H:%M:%S%z"'
### Functions
function largefiles () { du -h "$@" | grep -P "\d+\.\d+(G|T)"; }
### ZSH HOME
export ZSH=$HOME/.zsh-server

View File

@ -21,11 +21,13 @@ alias grep="grep --color"
alias egrep="grep -E"
alias lgrep="find | grep"
alias psgrep="ps axu | grep"
alias largefiles='du -h ./DATEN | grep -P "\d+\.\d+(G|T)\"'
alias plasmarestart="killall plasmashell; kstart plasma-desktop"
alias isotime='date +"%Y-%m-%dT%H:%M:%S%z"'
alias vim="vimx"
### Functions
function largefiles () { du -h "$@" | grep -P "\d+\.\d+(G|T)"; }
### ZSH HOME
export ZSH=$HOME/.zsh