Skip to content
Snippets Groups Projects
Commit abc7d401 authored by Todd Gamblin's avatar Todd Gamblin
Browse files

Add "spack cd" shell support to cd directly into the staged archive.

parent 5a3803de
No related branches found
No related tags found
No related merge requests found
......@@ -65,6 +65,10 @@ function spack {
# Filter out use and unuse. For any other commands, just run the
# command.
case $_spack_subcommand in
"cd")
cd $(spack stage -b "$@")
return
;;
"use") ;;
"unuse") ;;
*)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment