diff options
author | Alan Pearce | 2019-10-17 14:03:58 +0200 |
---|---|---|
committer | Alan Pearce | 2019-10-17 14:03:58 +0200 |
commit | 19420390a4e0c8fcc8fb63dc126be65ba85d9f34 (patch) | |
tree | bc84ec3a264a481c9f1abf1ce90bb36c81ff2ab2 /user/settings | |
parent | 2666d51f1c806ab4df918fcfc644e62a1c5fddc7 (diff) | |
download | nixfiles-19420390a4e0c8fcc8fb63dc126be65ba85d9f34.tar.lz nixfiles-19420390a4e0c8fcc8fb63dc126be65ba85d9f34.tar.zst nixfiles-19420390a4e0c8fcc8fb63dc126be65ba85d9f34.zip |
zsh: add docker aliases
Diffstat (limited to 'user/settings')
-rw-r--r-- | user/settings/zsh.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix index eb606fc9..75e0ee0d 100644 --- a/user/settings/zsh.nix +++ b/user/settings/zsh.nix @@ -183,6 +183,24 @@ in sudo = "sudo "; watch = "watch "; + d = "docker"; + db = "docker build"; + dr = "docker run"; + di = "docker image"; + dj = "docker pull"; + dk = "docker push"; + + dc = "docker-compose"; + dcb = "docker-compose build"; + dcd = "docker-compose down"; + dcj = "docker-compose pull"; + dck = "docker-compose push"; + dcl = "docker-compose logs"; + dclf = "docker-compose logs -f"; + dcu = "docker-compose up"; + dcud = "docker-compose up -d"; + dcr = "docker-compose restart"; + g = "rg"; ga = "git add"; |