From e0f99ff9980aec94ddf9c1acf191f3001f5060ca Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Sat, 18 Mar 2023 12:51:31 +0330 Subject: updates --- .zshrc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index 3f5ca42..90973f3 100644 --- a/.zshrc +++ b/.zshrc @@ -363,6 +363,13 @@ alias tunneltoprc="vim ~/scripts/.tunneltop.toml" alias fixtunneltoprc="cp ~/scripts/.tunneltop.toml ~/.tunneltop.toml" alias tokei="tokei --hidden --num-format underscores -s lines" alias waydroid="WAYLAND_DISPLAY=wayland-0 waydroid" +alias gw="git worktree" +alias redshiftrc="vim ~/scripts/.config/redshift.conf" +alias fixredshiftrc="cp ~/scripts/.config/redshift.conf ~/.config/redshift.conf" + +gwta() { + git worktree add ./"$1" $(git rev-parse "$1") +} function ccgrep() { EXTRA_ARG_BEFORE=$(llvm-config --libdir)/clang/$(llvm-config --version)/include -- cgit v1.2.3