Skip to content

Commit ba09437

Browse files
committed
Fix bash lookup on arch
1 parent ce2d70a commit ba09437

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -euo pipefail
44
IFS=$'\n\t'
55

66
# make fzf preview use bash
7-
SHELL="$(which bash)"
7+
SHELL="$(type bash | awk '{print $3}')"
88
export SHELL
99

1010
PW_HOME="${BASH_SOURCE[0]}"

0 commit comments

Comments
 (0)