diff --git a/bashrc b/bashrc index 61b95dd..65ec6e0 100644 --- a/bashrc +++ b/bashrc @@ -106,7 +106,7 @@ alias lampp="sudo /opt/lampp/lampp" alias clean="alias clr=\"clear\"" alias oracle="cd ~/downloads/sqldeveloper/ && ./sqldeveloper.sh" alias elephant="pqiv --fullscreen -ti ~/pictures/dall-e" -alias l="if [ \$(pwd) == \"\$HOME/dev\" ]; then lsprj; else ls; fi" +alias l="if [ \$(pwd) == \"\$HOME/dev\" ]; then lsprj; else ls $*; fi" # alias avec parametre emoji(){ grep -i $1 ~/documents/emoji; } diff --git a/mcphrase b/mcphrase index 6273314..5c3f582 100644 --- a/mcphrase +++ b/mcphrase @@ -29,4 +29,5 @@ singerie grand master cringe CCC ratio + banane +singe diff --git a/noblankline b/noblankline new file mode 100755 index 0000000..db0bfc1 --- /dev/null +++ b/noblankline @@ -0,0 +1,3 @@ +#!/bin/bash + +sed "/^ *$/d" $1 diff --git a/nocomment b/nocomment new file mode 100755 index 0000000..fc85959 --- /dev/null +++ b/nocomment @@ -0,0 +1,5 @@ +#!/bin/bash + +sed "/^\/\//d" $1 |\ +sed "/^#/d" |\ +sed "/^\/\*/,/\*\/$/d"