update gitignore
This commit is contained in:
parent
ba1300ef12
commit
dbb31c3e87
2 changed files with 14 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
!.gitignore
|
!.gitignore
|
||||||
!PKGBUILD
|
!PKGBUILD
|
||||||
|
!blend.sh
|
||||||
!blend-settings
|
!blend-settings
|
||||||
!blend-settings.desktop
|
!blend-settings.desktop
|
||||||
!.SRCINFO
|
!.SRCINFO
|
||||||
|
|
13
blend.sh
Normal file
13
blend.sh
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# https://unix.stackexchange.com/a/217629
|
||||||
|
|
||||||
|
pathmunge () {
|
||||||
|
if ! echo "$PATH" | /bin/grep -Eq "(^|:)$1($|:)" ; then
|
||||||
|
if [ "$2" = "after" ] ; then
|
||||||
|
PATH="$PATH:$1"
|
||||||
|
else
|
||||||
|
PATH="$1:$PATH"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pathmunge "${HOME}/.local/bin/blend_bin"
|
Loading…
Reference in a new issue