added simple scripts and updated
This commit is contained in:
parent
5417494fc3
commit
03104eb1bf
@ -1,6 +1,6 @@
|
||||
# If you come from bash you might have to change your $PATH.
|
||||
export GOPATH="$HOME/go"
|
||||
export PATH=$HOME/.local/bin:$GOPATH/bin:$PATH:$HOME/scripts
|
||||
export PATH=$PATH:$HOME/.local/bin:$GOPATH/bin:$HOME/scripts
|
||||
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH="/home/solomon/.oh-my-zsh"
|
||||
|
||||
3
.local/bin/chmox
Executable file
3
.local/bin/chmox
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
chmod +x "$@"
|
||||
7
.local/bin/runif
Executable file
7
.local/bin/runif
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [[ -x "$1" ]]; then
|
||||
$1
|
||||
else
|
||||
echo "$1 does not exist or couldn't be executed."
|
||||
fi
|
||||
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
/opt/ganttproject/ganttproject
|
||||
runif /opt/ganttproject/ganttproject
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f /usr/bin/Plexamp.AppImage ]; then
|
||||
/usr/bin/Plexamp.AppImage
|
||||
fi
|
||||
runif /usr/bin/Plexamp.AppImage
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
/opt/zotero/zotero
|
||||
runif /opt/zotero/zotero
|
||||
|
||||
Loading…
Reference in New Issue
Block a user