mirror of
https://github.com/mikkelsvartveit/dotfiles.git
synced 2025-12-22 19:22:38 +00:00
Add ghid function to fish
This commit is contained in:
parent
10ea62b6df
commit
df6dfc8579
1 changed files with 4 additions and 0 deletions
|
|
@ -15,6 +15,10 @@ abbr ghv "gh repo view --web"
|
||||||
abbr pr "gh pr checkout"
|
abbr pr "gh pr checkout"
|
||||||
abbr prc "gh pr create --web"
|
abbr prc "gh pr create --web"
|
||||||
|
|
||||||
|
function ghid
|
||||||
|
gh issue develop $argv[1] --checkout --name $argv[2]
|
||||||
|
end
|
||||||
|
|
||||||
# Print the directory of the top-most Finder window
|
# Print the directory of the top-most Finder window
|
||||||
function pfd
|
function pfd
|
||||||
bass "echo \"`osascript -e 'tell application \"Finder\" to POSIX path of (insertion location as alias)' end tell`\""
|
bass "echo \"`osascript -e 'tell application \"Finder\" to POSIX path of (insertion location as alias)' end tell`\""
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue