change repos folder to a dev folder
This commit is contained in:
parent
3dc5f91cc4
commit
c242b0f28c
1 changed files with 2 additions and 2 deletions
|
|
@ -19,7 +19,7 @@ def lt [] { ls | sort-by type name -i | grid -c | str trim }
|
|||
|
||||
alias j = joshuto
|
||||
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.
|
||||
# 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
|
||||
if $project != null {
|
||||
let path = $"/Barium/repos/($project)"
|
||||
let path = $"/dev/($project)"
|
||||
if ($path | path exists) {
|
||||
cd $path
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue