change repos folder to a dev folder

This commit is contained in:
Arne Dußin 2025-03-27 15:47:09 +03:00
parent 3dc5f91cc4
commit c242b0f28c

View file

@ -19,7 +19,7 @@ def lt [] { ls | sort-by type name -i | grid -c | str trim }
alias j = joshuto alias j = joshuto
alias e = hx . alias e = hx .
alias code = cd /Barium/repos/ alias code = cd ~/dev/
# Go to the repository with the name and start a nix development shell there. # Go to the repository with the name and start a nix development shell there.
# If no argument is given a nix development shell will be started in the current dir. # If no argument is given a nix development shell will be started in the current dir.
@ -28,7 +28,7 @@ def --env dev [project?: string, --nonix (-n)] {
# Switch directory to the project in case a name was passed # Switch directory to the project in case a name was passed
if $project != null { if $project != null {
let path = $"/Barium/repos/($project)" let path = $"/dev/($project)"
if ($path | path exists) { if ($path | path exists) {
cd $path cd $path
} else { } else {