summaryrefslogtreecommitdiff
path: root/functions/pp.fish
diff options
context:
space:
mode:
authorache <ache@ache.one>2026-03-04 15:59:29 +0100
committerache <ache@ache.one>2026-03-04 15:59:29 +0100
commit2a4fe57b9d3257f3f8d32d90dc4147615df33702 (patch)
tree89cd27a49abae237a04afa3faa4f5997a4e536e7 /functions/pp.fish
parentfeat: Create a color theme for fish (diff)
feat: Use abbr instead of alias
Diffstat (limited to 'functions/pp.fish')
-rw-r--r--functions/pp.fish14
1 files changed, 7 insertions, 7 deletions
diff --git a/functions/pp.fish b/functions/pp.fish
index 5e2f91b..5ddc953 100644
--- a/functions/pp.fish
+++ b/functions/pp.fish
@@ -1,10 +1,10 @@
-alias pping='prettyping'
+abbr --add pping prettyping
function pp
- if test -z "$argv[1]"
- set listargs "1.1" $argv[2..]
- else
- set listargs $argv
- end
- pping $listargs
+ if test -z "$argv[1]"
+ set listargs "1.1" $argv[2..]
+ else
+ set listargs $argv
+ end
+ prettyping $listargs
end