mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-11-11 20:43:00 +01:00
update nushell aliases
This commit is contained in:
parent
36a23d6210
commit
e5393214bd
2 changed files with 10 additions and 1 deletions
|
@ -4,3 +4,9 @@ def la [path: glob = "."] { ls -a $path | sort-by type }
|
||||||
alias nv = nvim
|
alias nv = nvim
|
||||||
alias nvide = & neovide "--no-fork"
|
alias nvide = & neovide "--no-fork"
|
||||||
|
|
||||||
|
# "new shell"
|
||||||
|
alias ns = enter .
|
||||||
|
|
||||||
|
# "quit shell"
|
||||||
|
alias qs = dexit
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,11 @@ def --wrapped "git <% new %>" [...rest] {
|
||||||
}
|
}
|
||||||
<! end !>
|
<! end !>
|
||||||
|
|
||||||
|
def --wrapped "git a" [p: path, ...rest] {
|
||||||
|
git add $p ...$rest
|
||||||
|
}
|
||||||
|
|
||||||
<!
|
<!
|
||||||
gitalias("a", "add")
|
|
||||||
gitalias("c", "commit")
|
gitalias("c", "commit")
|
||||||
gitalias("ch", "checkout")
|
gitalias("ch", "checkout")
|
||||||
gitalias("l", "log")
|
gitalias("l", "log")
|
||||||
|
|
Loading…
Reference in a new issue