Recently Written · git

goldfish

My fish init.

git clone https://github.com/equwal/goldfish

Log | Files | Refs


commit 14038ae69244d2d47cff2c0c4dab5f5f0d0cb39b
Spenser Truex <web@spensertruex.com>
2020-03-07 08:31:34 -0800

Initial commit.

 abbreviations.fish  | 5 ++++-
 functions/wifi.fish | 4 ++++
 2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/abbreviations.fish b/abbreviations.fish
index 1b3aae7..43d1086 100644
--- a/abbreviations.fish
+++ b/abbreviations.fish
@@ -1,4 +1,8 @@
 if status --is-interactive
+    # Make xclip work in X11's clipboard
+    abbr -a clip xclip -selection clipboard
+    abbr -a xclips xclip -selection clipboard
+
     # General aliases
     abbr -a fsv funcsave # since fed is what I use for emacs funced
     abbr -a sn sort -n
@@ -18,7 +22,6 @@ if status --is-interactive
 
     abbr -a pg ping duckduckgo.com
     ## Aliases from my Bash.
-    abbr wifi cd /home/jose/bin/iw-wrapper/\; ./internet.pl
     abbr emq emacs -Q
     # Aliases from my Eshell.
     # abbr -a ain apt-get update; apt-get upgrade; apt-get install
diff --git a/functions/wifi.fish b/functions/wifi.fish
new file mode 100644
index 0000000..d94a95a
--- /dev/null
+++ b/functions/wifi.fish
@@ -0,0 +1,4 @@
+# Defined in /tmp/fish.ohw61M/wifi.fish @ line 1
+function wifi
+  nmtui
+end