summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf.d/90-alias.zsh28
-rw-r--r--conf.d/99-docker.zsh7
-rw-r--r--conf.d/99-nix.zsh14
3 files changed, 28 insertions, 21 deletions
diff --git a/conf.d/90-alias.zsh b/conf.d/90-alias.zsh
index 087f28c..da6219d 100644
--- a/conf.d/90-alias.zsh
+++ b/conf.d/90-alias.zsh
@@ -7,12 +7,6 @@ alias just='nocorrect sudo '
alias reboop=reboot
alias g=git
-alias d=docker
-alias dc=docker-compose
-alias dm=docker-machine
-alias dtop='d stats $(d ps --format={{.Names}})'
-alias ctop='d run -it --name ctop --rm -v /var/run/docker.sock:/var/run/docker.sock:ro quay.io/vektorlab/ctop:latest'
-alias dlog='d logs --follow --timestamps --tail=10000'
alias sc=systemctl
alias scu='systemctl --user'
@@ -21,6 +15,9 @@ alias jc=journalctl
alias vim=$EDITOR
alias e=$EDITOR
+alias xo='xclip -o'
+alias xi='xclip -i'
+
ce() {
local file
file=$(find "$CFG_DIR" -type f 2>/dev/null | fzf +m) && e "$file"
@@ -30,22 +27,11 @@ alias c=cargo
alias r=raco
alias p=pass
-alias t=tungsten
-
-alias nib=nix-build
-alias nic=nix-channel
-alias nis=nix-shell
-alias nie=nix-env
-alias nir=nix-repl
-
-nih() {
- nie -iA nixpkgs.coreEnv nixpkgs.desktopEnv nixpkgs.gamesEnv
- dotfiles.coreEnv
- dotfiles.desktopEnv
-}
+alias wa=tungsten
-alias nor=nixos-rebuild
-alias noc=nixos-container
+alias t=task
+alias tn='task next'
+alias ta='task add'
alias pe=patchelf
diff --git a/conf.d/99-docker.zsh b/conf.d/99-docker.zsh
new file mode 100644
index 0000000..46c3de2
--- /dev/null
+++ b/conf.d/99-docker.zsh
@@ -0,0 +1,7 @@
+alias d=docker
+alias dc=docker-compose
+alias dm=docker-machine
+
+alias dtop='d stats $(d ps --format={{.Names}})'
+alias ctop='d run -it --name ctop --rm -v /var/run/docker.sock:/var/run/docker.sock:ro quay.io/vektorlab/ctop:latest'
+alias dlog='d logs --follow --timestamps --tail=10000'
diff --git a/conf.d/99-nix.zsh b/conf.d/99-nix.zsh
new file mode 100644
index 0000000..1156080
--- /dev/null
+++ b/conf.d/99-nix.zsh
@@ -0,0 +1,14 @@
+alias nib=nix-build
+alias nic=nix-channel
+alias nis=nix-shell
+alias nie=nix-env
+alias nir=nix-repl
+
+nih() {
+ nie -iA nixpkgs.coreEnv nixpkgs.desktopEnv nixpkgs.gamesEnv
+ dotfiles.coreEnv
+ dotfiles.desktopEnv
+}
+
+alias nor=nixos-rebuild
+alias noc=nixos-container