diff --git a/dot/.bashrc.d/android-studio.bash b/dot/.bashrc.d/android-studio.bash index 2fb75cf..7c91486 100644 --- a/dot/.bashrc.d/android-studio.bash +++ b/dot/.bashrc.d/android-studio.bash @@ -1,4 +1,4 @@ -basedir=$(realpath -m $(dirname "${BASH_SOURCE[0]:-$0}")) +basedir=$(realpath $(dirname "${BASH_SOURCE[0]:-$0}")) source "${basedir}/function.bash" unset basedir diff --git a/dot/.bashrc.d/fnm.bash b/dot/.bashrc.d/fnm.bash index 35fa523..a9b34cb 100644 --- a/dot/.bashrc.d/fnm.bash +++ b/dot/.bashrc.d/fnm.bash @@ -1,4 +1,4 @@ -basedir=$(realpath -m $(dirname "${BASH_SOURCE[0]:-$0}")) +basedir=$(realpath $(dirname "${BASH_SOURCE[0]:-$0}")) source "${basedir}/function.bash" unset basedir diff --git a/dot/.bashrc.d/function.bash b/dot/.bashrc.d/function.bash index 311f622..d0857a9 100644 --- a/dot/.bashrc.d/function.bash +++ b/dot/.bashrc.d/function.bash @@ -9,7 +9,7 @@ generate-bash-completion() { fi local completion_dir="${HOME}/.local/share/bash-completion/completions" - local completion_file="$(realpath -m "${completion_dir}/${file}")" + local completion_file="${completion_dir}/${file}" if [[ -d "$completion_dir" && ! -w "$completion_dir" ]]; then echo "ERROR: has no permission to write to directory '${completion_dir}'" >&2 @@ -64,7 +64,7 @@ load-bash-completion() { local completion_dir="${HOME}/.local/share/bash-completion/completions" for file in "${files[@]}"; do - local completion_file="$(realpath -m "${completion_dir}/${file}")" + local completion_file="${completion_dir}/${file}" if [[ ! -e "$completion_file" ]]; then if [[ "$silence" == false ]]; then diff --git a/dot/.bashrc.d/llama-cpp.bash b/dot/.bashrc.d/llama-cpp.bash index 4cf79c0..bcf9187 100644 --- a/dot/.bashrc.d/llama-cpp.bash +++ b/dot/.bashrc.d/llama-cpp.bash @@ -1,4 +1,4 @@ -basedir=$(realpath -m $(dirname "${BASH_SOURCE[0]:-$0}")) +basedir=$(realpath $(dirname "${BASH_SOURCE[0]:-$0}")) source "${basedir}/function.bash" unset basedir diff --git a/dot/.bashrc.d/manager/mise.bash b/dot/.bashrc.d/manager/mise.bash index 2431341..8f40693 100644 --- a/dot/.bashrc.d/manager/mise.bash +++ b/dot/.bashrc.d/manager/mise.bash @@ -1,4 +1,4 @@ -basedir=$(realpath -m $(dirname "${BASH_SOURCE[0]:-$0}")) +basedir=$(realpath $(dirname "${BASH_SOURCE[0]:-$0}")) source "${basedir}/../function.bash" unset basedir diff --git a/dot/.bashrc.d/manager/rust.bash b/dot/.bashrc.d/manager/rust.bash index 730ce0d..d065795 100644 --- a/dot/.bashrc.d/manager/rust.bash +++ b/dot/.bashrc.d/manager/rust.bash @@ -1,4 +1,4 @@ -basedir=$(realpath -m $(dirname "${BASH_SOURCE[0]:-$0}")) +basedir=$(realpath $(dirname "${BASH_SOURCE[0]:-$0}")) source "${basedir}/../function.bash" unset basedir diff --git a/dot/.bashrc.d/pnpm.bash b/dot/.bashrc.d/pnpm.bash index 310cfa5..a7d41a5 100755 --- a/dot/.bashrc.d/pnpm.bash +++ b/dot/.bashrc.d/pnpm.bash @@ -1,4 +1,4 @@ -basedir=$(realpath -m $(dirname "${BASH_SOURCE[0]:-$0}")) +basedir=$(realpath $(dirname "${BASH_SOURCE[0]:-$0}")) source "${basedir}/function.bash" unset basedir diff --git a/dot/.bashrc.d/uv.bash b/dot/.bashrc.d/uv.bash index 138b13c..b287472 100644 --- a/dot/.bashrc.d/uv.bash +++ b/dot/.bashrc.d/uv.bash @@ -1,4 +1,4 @@ -basedir=$(realpath -m $(dirname "${BASH_SOURCE[0]:-$0}")) +basedir=$(realpath $(dirname "${BASH_SOURCE[0]:-$0}")) source "${basedir}/function.bash" unset basedir diff --git a/dot/.bashrc.d/volta.bash b/dot/.bashrc.d/volta.bash index 2716380..cb17c7c 100644 --- a/dot/.bashrc.d/volta.bash +++ b/dot/.bashrc.d/volta.bash @@ -1,4 +1,4 @@ -basedir=$(realpath -m $(dirname "${BASH_SOURCE[0]:-$0}")) +basedir=$(realpath $(dirname "${BASH_SOURCE[0]:-$0}")) source "${basedir}/function.bash" unset basedir