Skip to content

Commit

Permalink
Using the script path for lib path
Browse files Browse the repository at this point in the history
  • Loading branch information
shinokada committed Jun 9, 2021
1 parent bb4bf91 commit ff726a4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions awesome
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#!/usr/bin/env bash
# shellcheck disable=SC2154

version="0.2.4"
version="0.2.5"
awesome_dir="$HOME/awesome"
bin_dir="$HOME/bin"

source "$awesome_dir/awesome/lib"
script_path=$(realpath "$(which awesome)")
script_dir="${script_path%/*}"
source "$script_dir/lib"

# Return Y or N after asking a question.
fn_confirmRemove() {
Expand Down

0 comments on commit ff726a4

Please sign in to comment.