feat: open shell function that replicates the macOS tool under linux
This commit is contained in:
parent
b854851f0c
commit
e2144238f1
1 changed files with 6 additions and 0 deletions
6
.bashrc.d/open.sh
Normal file
6
.bashrc.d/open.sh
Normal file
|
@ -0,0 +1,6 @@
|
|||
if ! command -v open >/dev/null 2>&1
|
||||
then
|
||||
function open {
|
||||
gio open ${@:-.}
|
||||
}
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue