summaryrefslogtreecommitdiff
path: root/.config/fish/functions
diff options
context:
space:
mode:
Diffstat (limited to '.config/fish/functions')
-rw-r--r--.config/fish/functions/fish_greeting.fish3
-rw-r--r--.config/fish/functions/last_history_item.fish3
2 files changed, 3 insertions, 3 deletions
diff --git a/.config/fish/functions/fish_greeting.fish b/.config/fish/functions/fish_greeting.fish
deleted file mode 100644
index 234e7c2..0000000
--- a/.config/fish/functions/fish_greeting.fish
+++ /dev/null
@@ -1,3 +0,0 @@
-function fish_greeting
- fish_logo
-end
diff --git a/.config/fish/functions/last_history_item.fish b/.config/fish/functions/last_history_item.fish
new file mode 100644
index 0000000..2fc4d24
--- /dev/null
+++ b/.config/fish/functions/last_history_item.fish
@@ -0,0 +1,3 @@
+function last_history_item
+ echo $history[1]
+end