Skip to content

Instantly share code, notes, and snippets.

View jeckel's full-sized avatar
🐧
Freelance (Available for new projects)

Julien Mercier-Rojas jeckel

🐧
Freelance (Available for new projects)
View GitHub Profile
@jeckel
jeckel / aliases.sh
Last active March 31, 2017 15:36
aliases
#!/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"
@jeckel
jeckel / .screenrc
Created August 25, 2016 06:00
Screen configuration file
# 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