Commit 75704291 authored by Pierre-antoine Comby's avatar Pierre-antoine Comby
Browse files

add mvln aliases

parent 95d8fa29
......@@ -146,14 +146,18 @@ alias tailprocmail='tail -f ~/.procmail/logs/procmail.log'
# | Cool stuff |
# +------------+
# A♡ !!!
alias atv='cvlc udp://@239.231.140.230:1337'
#Meteo
meteo () { curl fr.wttr.in/`tr -s ' ' '_' <<< "$*"`; }
#Lune
moon () { curl fr.wttr.in/Moon; }
#Password
alias passgen='< /dev/urandom tr -dc [:alnum:] | head -c16; echo'
#mv and create retro link
mvln () {
echo "mv $1 ${2%%/}/$1 && ln -s ${2%%/}/$1 $1"
mv $1 ${2%%/}/$1 && ln -s ${2%%/}/${1%%/} ${1%%/}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment