diff --git a/.aliases b/.aliases index c75c5ff..eae1cb3 100644 --- a/.aliases +++ b/.aliases @@ -238,6 +238,16 @@ alias cls=clear alias cpr='cp -r' alias dc='gdc' alias duh='du -csh' + +dos2unix_all() { + local path="$1" + if [[ $path == "" ]]; then + path="$PWD" + fi + find $path -type f -exec dos2unix '{}' '+' +} +alias d2u='dos2unix_all' + alias e='open_explorer_here "$PWD"' alias exp='echo "Use e instead."' alias f='fg'