Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

weath: Add option to get forecast from a different location #1327

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

appeasementPolitik
Copy link
Contributor

@appeasementPolitik appeasementPolitik commented May 13, 2023

You can now add the forecast location as a parameter to weath, very useful if you want to quickly know what the weather is like somewhere else. Had to use a function because aliases don't support command line parameters.

weath
weath 'Rome'

Also added the 'cp' option so you can copy the forecast as plaintext to your clipboard, so that it can be shared. I've found myself using screenshots for it before, but that's impractical.

weath cp
weath cp 'Rome'

@TheYellowArchitect
Copy link
Contributor

Those changes are great, but I think it should call a .local/bin bash script (containing your command/function), because aliasrc isnt meant to hold logic or big commands

@appeasementPolitik
Copy link
Contributor Author

Thanks. You're right, I've now made it a separate script.

thetubster99 added a commit to thetubster99/cookedrice that referenced this pull request May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants