Browse Source

fix push_directory, pop_directory

main
pvincent 8 months ago
parent
commit
6a03f03c26
  1. 4
      install.sh

4
install.sh

@ -9,11 +9,11 @@ readonly MAIN_TAR_GZ_URL="https://git.artcode.re/miaou/miaou-bash/archive/main.t
## FUNCTIONS
function push_directory {
pushd "$1" || echo "unable to push directory <$1>" && exit 1
pushd "$1" || (echo "unable to push directory <$1>" && exit 1)
}
function pop_directory {
popd || echo "unable to pop from previous directory" && exit 1
popd || (echo "unable to pop from previous directory" && exit 1)
}
function root_required {

Loading…
Cancel
Save