Last active
December 3, 2019 20:35
-
-
Save eugene-babichenko/a8937d2c1a2f8b94b382103c093c8170 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# generated by `thefuck --alias` | |
source $HOME/thefuck.sh | |
source $HOME/antigen.zsh | |
antigen use oh-my-zsh | |
antigen bundle cargo | |
antigen bundle colored-man-pages | |
antigen bundle docker | |
antigen bundle docker-compose | |
antigen bundle pip | |
antigen bundle git | |
antigen bundle zsh-users/zsh-autosuggestions | |
antigen bundle zsh-users/zsh-completions | |
antigen bundle zdharma/fast-syntax-highlighting | |
antigen bundle mafredri/zsh-async | |
antigen bundle sindresorhus/pure | |
antigen bundle marzocchi/zsh-notify | |
antigen apply | |
zstyle ':notify:*' command-complete-timeout 15 | |
zstyle ':notify:*' always-notify-on-failure no | |
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=60" | |
function portainer() { | |
if [ "$(docker ps | grep portainer)" ]; then | |
docker stop portainer | |
fi | |
if [ "$(docker ps -a | grep portainer)" ]; then | |
docker rm portainer | |
fi | |
docker run -d -p 9000:9000 \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
-v portainer_data:/data \ | |
--name portainer \ | |
portainer/portainer | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment