use anon params in murex fns
This commit is contained in:
parent
0562e2235d
commit
ca53366fd0
4 changed files with 44 additions and 43 deletions
|
@ -5,6 +5,7 @@
|
|||
managePlugins = true;
|
||||
profile = ''
|
||||
config: set shell auto-cd true
|
||||
config: set proc force-tty true
|
||||
|
||||
function fresh {
|
||||
clear
|
||||
|
@ -16,25 +17,25 @@
|
|||
mount -> column -t -> culr -t 80 -o roygbiv-split
|
||||
}
|
||||
|
||||
function la_culr (l_path: str "") {
|
||||
if { $l_path } {
|
||||
eza -lha --group-directories-first --icons --color=always $l_path -> culr -t 80 -o roygbiv-split
|
||||
function la_culr {
|
||||
if { $1 } {
|
||||
eza -lha --group-directories-first --icons --color=always $1 -> culr -t 80 -o roygbiv-split
|
||||
} else {
|
||||
eza -lha --group-directories-first --icons --color=always -> culr -t 80 -o roygbiv-split
|
||||
}
|
||||
}
|
||||
|
||||
function ls_culr (l_path: str "") {
|
||||
if { $l_path } {
|
||||
eza -lh --group-directories-first --icons --color=always $l_path -> culr -t 80 -o roygbiv-split
|
||||
function ls_culr {
|
||||
if { $1 } {
|
||||
eza -lh --group-directories-first --icons --color=always $1 -> culr -t 80 -o roygbiv-split
|
||||
} else {
|
||||
eza -lh --group-directories-first --icons --color=always -> culr -t 80 -o roygbiv-split
|
||||
}
|
||||
}
|
||||
|
||||
function ps_culr (opts: str "") {
|
||||
if { $opts } {
|
||||
ps ww$opts | culr -t 80 -o roygbiv-split
|
||||
function ps_culr {
|
||||
if { $1 } {
|
||||
ps ww$1 | culr -t 80 -o roygbiv-split
|
||||
} else {
|
||||
ps ww | culr -t 80 -o roygbiv-split
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue