summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorseth <[email protected]>2023-06-04 16:24:11 -0400
committerseth <[email protected]>2023-06-04 16:25:11 -0400
commit08b680eaa460a4aaf139e502be97e38b1ded30c8 (patch)
treed3eb9b82dbe2681c06a41d23ddf2433db3692735 /.config
parent76e981f9ef533d4b0a49cacc8f2249ee9f55d5d5 (diff)
fish: remove some plugins
Diffstat (limited to '.config')
-rw-r--r--.config/fish/config.fish1
-rw-r--r--.config/fish/fish_plugins2
-rw-r--r--.config/fish/functions/fish_greeting.fish3
-rw-r--r--.config/fish/functions/last_history_item.fish3
-rw-r--r--.config/fish/themes/Catppuccin Mocha.theme23
5 files changed, 5 insertions, 27 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
index 42bbdf7..4fde30f 100644
--- a/.config/fish/config.fish
+++ b/.config/fish/config.fish
@@ -32,6 +32,7 @@ function load_plugins
end
fish_config theme choose "Catppuccin Mocha"
+ abbr !! --position anywhere --function last_history_item
end
if status is-interactive || status is-login
diff --git a/.config/fish/fish_plugins b/.config/fish/fish_plugins
index d0549d6..65d7cbf 100644
--- a/.config/fish/fish_plugins
+++ b/.config/fish/fish_plugins
@@ -1,6 +1,4 @@
jorgebucaran/fisher
ehfive/fish-bash2env
jorgebucaran/autopair.fish
-nickeb96/puffer-fish
catppuccin/fish
-laughedelic/fish_logo
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
diff --git a/.config/fish/themes/Catppuccin Mocha.theme b/.config/fish/themes/Catppuccin Mocha.theme
index b4ead0f..2b0c71c 100644
--- a/.config/fish/themes/Catppuccin Mocha.theme
+++ b/.config/fish/themes/Catppuccin Mocha.theme
@@ -1,25 +1,3 @@
-# MIT License
-#
-# Copyright (c) 2021 Catppuccin
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy
-# of this software and associated documentation files (the "Software"), to deal
-# in the Software without restriction, including without limitation the rights
-# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-# copies of the Software, and to permit persons to whom the Software is
-# furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in all
-# copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-# SOFTWARE.
-
# name: 'Catppuccin mocha'
# url: 'https://github.com/catppuccin/fish'
# preferred_background: 1e1e2e
@@ -36,6 +14,7 @@ fish_color_error f38ba8
fish_color_gray 6c7086
fish_color_selection --background=313244
fish_color_search_match --background=313244
+fish_color_option a6e3a1
fish_color_operator f5c2e7
fish_color_escape eba0ac
fish_color_autosuggestion 6c7086