summaryrefslogtreecommitdiff
path: root/.config/fish
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2022-08-09 11:18:14 -0300
committerRoger Gonzalez <roger@rogs.me>2022-08-09 11:18:14 -0300
commit11110f25c9a214e15566e04af6ff989a96fdd53f (patch)
tree032d2eb59725ab677e3079d68d4212e599181e23 /.config/fish
parent89cf3bc2d5d56fa1afc10bf7a534e99c85fdd6e1 (diff)
General fixes, mostly on the linux side
Diffstat (limited to '.config/fish')
-rw-r--r--.config/fish/config.fish3
-rw-r--r--.config/fish/fish_variables3
-rw-r--r--.config/fish/functions/prometeo-vpn.fish4
-rw-r--r--.config/fish/functions/uft.fish1
4 files changed, 7 insertions, 4 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
index 7e1bc530..f5de60b1 100644
--- a/.config/fish/config.fish
+++ b/.config/fish/config.fish
@@ -20,12 +20,13 @@ alias doom='$HOME/.emacs.d/bin/doom'
alias ls='exa -la --color=always --group-directories-first'
alias pr='ping rogs.me'
alias my-ip="curl ifconfig.me"
+alias emacs="emacsclient -c -a 'emacs'"
source "$HOME/.config/fish/abbreviations.fish"
# tabtab source for packages
# uninstall by removing these lines
-[ -f ~/.config/tabtab/__tabtab.fish ]; and . ~/.config/tabtab/__tabtab.fish; or true
+# [ -f ~/.config/tabtab/__tabtab.fish ]; and . ~/.config/tabtab/__tabtab.fish; or true
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/home/roger/.google-cloud-sdk/path.fish.inc' ]; . '/home/roger/.google-cloud-sdk/path.fish.inc'; end
diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables
index cc2b0983..9901f80e 100644
--- a/.config/fish/fish_variables
+++ b/.config/fish/fish_variables
@@ -5,7 +5,7 @@ SETUVAR __fish_init_1_50_0:\x1d
SETUVAR __fish_init_2_39_8:\x1d
SETUVAR __fish_init_2_3_0:\x1d
SETUVAR __fish_init_3_x:\x1d
-SETUVAR __fish_initialized:3100
+SETUVAR __fish_initialized:3400
SETUVAR _fish_abbr_cdccb:cd\x20\x7e/code/massive/cocacola/new\x2dbackend
SETUVAR _fish_abbr_cdccf:cd\x20\x7e/code/massive/cocacola/frontend
SETUVAR _fish_abbr_cdimb:cd\x20\x7e/code/personal/identidadMisional/backend
@@ -107,4 +107,5 @@ SETUVAR fish_pager_color_completion:normal
SETUVAR fish_pager_color_description:B3A06D\x1eyellow
SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
+SETUVAR fish_pager_color_selected_background:\x2dr
SETUVAR fish_user_paths:/home/roger/\x2eserverless/bin
diff --git a/.config/fish/functions/prometeo-vpn.fish b/.config/fish/functions/prometeo-vpn.fish
index c88db78a..94174ca1 100644
--- a/.config/fish/functions/prometeo-vpn.fish
+++ b/.config/fish/functions/prometeo-vpn.fish
@@ -1,5 +1,5 @@
function prometeo-vpn
+ sudo wg-quick down wg0
mullvad disconnect
- cd ~/.vpn
- sudo openvpn --config prometeo.ovpn
+ sudo wg-quick up wg0
end
diff --git a/.config/fish/functions/uft.fish b/.config/fish/functions/uft.fish
index 41e33940..afb7b111 100644
--- a/.config/fish/functions/uft.fish
+++ b/.config/fish/functions/uft.fish
@@ -1,4 +1,5 @@
function uft
rm -f ~/Documents/Gastos/Saved/import/import.csv
/usr/bin/ls -tr ~/Documents/Gastos/Saved/*.csv | tail -n 2 | xargs grep -Fxvf > ~/Documents/Gastos/Saved/import/import.csv
+ cat -n ~/Documents/Gastos/Saved/import/import.csv
end