Add (visual) weather-fetching function
[khome.git] / lib / login_functions.sh
index 3e84d45..ba0940a 100644 (file)
@@ -42,7 +42,7 @@ hump() {
 }
 
 howto() {
-    cd $HOME/Archives/Documents/HOWTOs && cat $(fzf) && cd -
+    cat $(ls -1 -d  $HOME/Archives/Documents/HOWTOs/* | fzf)
 }
 
 gh_fetch_repos() {
@@ -63,3 +63,7 @@ gh_clone_user() {
 gh_clone_org() {
     gh_clone 'orgs' "$1"
 }
+
+weather() {
+    curl "http://wttr.in/$WEATHER_LOCATION"
+}
This page took 0.023637 seconds and 4 git commands to generate.