summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorPavel Egorov <[email protected]>2026-04-03 21:02:27 +0300
committerPavel Egorov <[email protected]>2026-04-03 21:02:27 +0300
commita84d0b914c204490cb5feeb9596dea21691ff045 (patch)
treebbdb0c260d4c045c5bfc60187fe503b0e22d5109 /.config
parent37aa47bf6751592da79753a6ff1aab17ef1c9fec (diff)
downloaddotfiles-a84d0b914c204490cb5feeb9596dea21691ff045.tar.gz
dotfiles-a84d0b914c204490cb5feeb9596dea21691ff045.zip
[fish] added weather function
TODO: move into scripts
Diffstat (limited to '')
-rw-r--r--.config/fish/conf.d/alias.fish6
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/fish/conf.d/alias.fish b/.config/fish/conf.d/alias.fish
index 01f3859..2057b0d 100644
--- a/.config/fish/conf.d/alias.fish
+++ b/.config/fish/conf.d/alias.fish
@@ -27,3 +27,9 @@ function gitinit -a name
27 git init 27 git init
28 git commit -m "Initial commit" --allow-empty 28 git commit -m "Initial commit" --allow-empty
29end 29end
30
31function weather -a location
32 set no_follow "F"
33
34 curl --get --data "$no_follow" "wttr.in/$location"
35end