Ensure shebangs in scripts
This commit is contained in:
parent
832d42398e
commit
db759f8e06
|
@ -1,3 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
git -C "$HOME/.emacs/" pull --ff-only
|
git -C "$HOME/.emacs/" pull --ff-only
|
||||||
|
|
||||||
for DIRECTORY in $HOME/.password-store $HOME/.elfeed $HOME/Documents/Org $HOME/Documents/References; do
|
for DIRECTORY in $HOME/.password-store $HOME/.elfeed $HOME/Documents/Org $HOME/Documents/References; do
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
sudo nixos-rebuild switch --flake flake:nixos --refresh
|
sudo nixos-rebuild switch --flake flake:nixos --refresh
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
HOST=$1
|
HOST=$1
|
||||||
for TARGET in bat git zellij starship.toml; do
|
for TARGET in bat git zellij starship.toml; do
|
||||||
SOURCE="$HOME/.config/$TARGET"
|
SOURCE="$HOME/.config/$TARGET"
|
||||||
|
echo "--- $SOURCE ---"
|
||||||
TMP_TARGET=/tmp/rsync-local-config
|
TMP_TARGET=/tmp/rsync-local-config
|
||||||
TMP_SOURCE=$TMP_TARGET
|
TMP_SOURCE=$TMP_TARGET
|
||||||
NIX_SED="sed -i 's|/nix/.*/bin/||g'"
|
NIX_SED="sed -i 's|/nix/.*/bin/||g'"
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
FILETYPE=$(xdg-mime query filetype $@)
|
FILETYPE=$(xdg-mime query filetype $@)
|
||||||
DEFAULT=$(xdg-mime query default $FILETYPE)
|
DEFAULT=$(xdg-mime query default $FILETYPE)
|
||||||
echo "$FILETYPE -> $DEFAULT"
|
echo "$FILETYPE -> $DEFAULT"
|
||||||
|
|
Loading…
Reference in a new issue