chore(readme): update stow.sh
This commit is contained in:
13
README.md
13
README.md
@@ -1 +1,12 @@
|
|||||||
# my dots
|
# my dotfiles
|
||||||
|
|
||||||
|
Everything is managed via `stow(1)`.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ ./stow.sh
|
||||||
|
Unknown option, exiting.
|
||||||
|
Use ./stow.sh --stow <folder_name> to deploy configuration
|
||||||
|
Use ./stow.sh --unstow <folder_name> to remove configuration
|
||||||
|
```
|
||||||
|
|
||||||
|
`helix(1)` should be built from [source](https://docs.helix-editor.com/install.html), remember to link the `runtime/`.
|
||||||
|
|||||||
4
stow.sh
4
stow.sh
@@ -16,7 +16,9 @@ case $i in
|
|||||||
stow -D -v -d files -t $HOME $2
|
stow -D -v -d files -t $HOME $2
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unknown option (neither -s, not -u), exiting."
|
echo "Unknown option, exiting."
|
||||||
|
echo "Use $0 --stow <folder_name> to deploy configuration"
|
||||||
|
echo "Use $0 --unstow <folder_name> to remove configuration"
|
||||||
exit -1
|
exit -1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user