This is my theme for oh-my-zsh.
It's a fork from the clean
theme with some personnal modifications
#!/bin/bash | |
######################################################### | |
# docker | |
# Stop all running container | |
alias dstopall="if [ \$(docker ps -q | wc -l) -gt 0 ] ; then docker stop \$(docker ps -q); fi" | |
# Remove all container's instance | |
alias drmall="if [ \$(docker ps -aq | wc -l) -gt 0 ] ; then docker rm \$(docker ps -aq); fi" | |
# Remove all untagged / unfinished images | |
alias drminone="if [ \$(docker images -q --filter dangling=true | wc -l) -gt 0 ] ; then ; docker rmi -f \$(docker images -q --filter dangling=true) ; fi" |
# the following two lines give a two-line status, with the current window highlighted | |
hardstatus alwayslastline | |
hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]' | |
# huge scrollback buffer | |
defscrollback 5000 | |
# no welcome message | |
startup_message off |
This is my theme for oh-my-zsh.
It's a fork from the clean
theme with some personnal modifications