feat: add herdr & pi auto theme
This commit is contained in:
1 parent
658ef3f3ed
commit
5af8007804
6 files changed
+101
-2
No files matched your search
@@ -55,6 +55,18 @@ def --env zj [path?: string] {
|
||||
zellij attach -c $session_name
|
||||
}
|
||||
|
||||
# hd: "Smart Herdr"
|
||||
# 1. If argument provided: cd there, then open herdr
|
||||
# 2. If no argument: open herdr in current dir
|
||||
def --env hd [path?: string] {
|
||||
if ($path != null) {
|
||||
cd $path
|
||||
}
|
||||
let session_name = ($env.PWD | path basename)
|
||||
|
||||
herdr --session $session_name
|
||||
}
|
||||
|
||||
def man [topic: string] {
|
||||
^man $topic | bat -l man -p
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user