aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/zsh
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-20 13:56:08 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-20 13:56:08 +0100
commit08996a92ebeccc01e523f79723efcd9b20922e98 (patch)
treefa0b93b8fae7b320007397bd43d8b6c6fa334105 /dot_config/zsh
parent0bdd2fe6a755c8bf6582ad2258921751cd14653e (diff)
downloaddotfiles-08996a92ebeccc01e523f79723efcd9b20922e98.tar.gz
dotfiles-08996a92ebeccc01e523f79723efcd9b20922e98.tar.bz2
dotfiles-08996a92ebeccc01e523f79723efcd9b20922e98.zip
feat(zsh): add dj/rj aliases for dotfiles and remote-dev justfiles
dj invokes ~/dotfiles/justfile and rj invokes ~/.local/share/dotfiles/remote-dev/justfile, both pinned to the justfile's directory via --working-directory so the aliases behave identically from any CWD.
Diffstat (limited to 'dot_config/zsh')
-rw-r--r--dot_config/zsh/dot_zshrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/dot_config/zsh/dot_zshrc b/dot_config/zsh/dot_zshrc
index faf538b..138982b 100644
--- a/dot_config/zsh/dot_zshrc
+++ b/dot_config/zsh/dot_zshrc
@@ -357,6 +357,8 @@ reload-env() {
# Just
alias j='just'
+alias dj='just --justfile ~/dotfiles/justfile --working-directory ~/dotfiles'
+alias rj='just --justfile ~/.local/share/dotfiles/remote-dev/justfile --working-directory ~/.local/share/dotfiles/remote-dev'
# LLVM / Clang tooling
alias ncmake='cmake -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_FLAGS="$DEV_CFLAGS" -DCMAKE_CXX_FLAGS="$DEV_CFLAGS" -DCMAKE_INSTALL_PREFIX=build/install -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -B build'