src/pn: new script
This commit is contained in:
parent
65edb50d4c
commit
ffa106fad9
10
src/pn
Executable file
10
src/pn
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
|
||||||
|
trap 'exit 128' INT
|
||||||
|
|
||||||
|
|
||||||
|
cd "${1:-$(pwd)}" || exit 1
|
||||||
|
|
||||||
|
path="$(git rev-parse --show-prefix)"
|
||||||
|
echo "${path%/}"
|
Loading…
x
Reference in New Issue
Block a user