diff options
author | Roger Gonzalez <rogergonzalez21@gmail.com> | 2019-12-29 14:58:33 -0300 |
---|---|---|
committer | Roger Gonzalez <rogergonzalez21@gmail.com> | 2019-12-29 14:58:33 -0300 |
commit | efb336a23b65a9a2d56889396b13c1757bdaf354 (patch) | |
tree | 234e40115f79a84c8a755df6fb932cc6797e36e1 /.config/fisher/github.com/matchai/spacefish/scripts |
Initial commit
Diffstat (limited to '.config/fisher/github.com/matchai/spacefish/scripts')
-rwxr-xr-x | .config/fisher/github.com/matchai/spacefish/scripts/version.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/fisher/github.com/matchai/spacefish/scripts/version.sh b/.config/fisher/github.com/matchai/spacefish/scripts/version.sh new file mode 100755 index 00000000..3fb60717 --- /dev/null +++ b/.config/fisher/github.com/matchai/spacefish/scripts/version.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +new_version=$1 +filename=$(pwd)/fish_prompt.fish + +sed -e "s/set -g SPACEFISH_VERSION .*/set -g SPACEFISH_VERSION $new_version/g" $filename > $filename.bak +mv -- $filename.bak $filename + |