Remove useless shebangs

This commit is contained in:
clsty
2025-02-06 19:18:00 +08:00
parent ddb420bcba
commit db1cc548ea
4 changed files with 4 additions and 8 deletions
+1 -2
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
# This is NOT a script for execution, but for loading functions, so NOT need execution permission or shebang.
XDG_BIN_HOME=${XDG_BIN_HOME:-$HOME/.local/bin}
XDG_CACHE_HOME=${XDG_CACHE_HOME:-$HOME/.cache}
XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-$HOME/.config}
@@ -7,4 +7,3 @@ XDG_STATE_HOME=${XDG_STATE_HOME:-$HOME/.local/state}
BACKUP_DIR=${BACKUP_DIR:-$HOME/backup}
UV_NO_MODIFY_PATH=1
PYTHON_VENV_PATH=$XDG_STATE_HOME/ags/.venv
#PYTHON_BIN_PATH=$PYTHON_VENV_PATH/bin/python
+1 -2
View File
@@ -1,5 +1,4 @@
#!/usr/bin/env bash
# This is NOT a script for execution, but for loading functions, so NOT need execution permission.
# This is NOT a script for execution, but for loading functions, so NOT need execution permission or shebang.
# NOTE that you NOT need to `cd ..' because the `$0' is NOT this file, but the script file which will source this file.
# The script that use this file should have two lines on its top as follows:
+1 -2
View File
@@ -1,10 +1,9 @@
#!/usr/bin/env bash
# This file is provided for non-Arch(based) distros.
# As for Arch Linux, we use local PKGBUILDs or AUR packages, which is the "right" way compared to copying files directly into /usr/local/* .
# P.S. install-yay() should be kept for Arch(based) distros.
# This script depends on `functions' .
# This is NOT a script for execution, but for loading functions, so NOT need execution permission.
# This is NOT a script for execution, but for loading functions, so NOT need execution permission or shebang.
# NOTE that you NOT need to `cd ..' because the `$0' is NOT this file, but the script file which will source this file.
# The script that use this file should have two lines on its top as follows:
+1 -2
View File
@@ -1,5 +1,4 @@
#!/usr/bin/env bash
# This is NOT a script for execution, but for loading functions, so NOT need execution permission.
# This is NOT a script for execution, but for loading functions, so NOT need execution permission or shebang.
# NOTE that you NOT need to `cd ..' because the `$0' is NOT this file, but the script file which will source this file.
# The script that use this file should have two lines on its top as follows: