dotfiles/dot_zsh_functions

40 lines
1.3 KiB
Plaintext
Raw Normal View History

2019-03-01 08:17:42 +00:00
function google() {
open -na "Google Chrome" --args "https://www.google.com/search?q=$*"
}
function stackoverflow() {
open -na "Google Chrome" --args "https://www.google.com/search?q=site:stackoverflow.com $*"
}
function github() {
open -na "Google Chrome" --args "https://github.com/search?q=$*"
}
function hacker() {
open -na "Google Chrome" --args "https://hn.algolia.com/?sort=byDate&query=$*"
}
function gmail() {
open -na "Google Chrome" --args "https://mail.google.com/mail/u/0"
}
function gmail2() {
open -na "Google Chrome" --args "https://mail.google.com/mail/u/1"
}
function tooling() {
open -na "Google Chrome" --args "https://issues.collibra.com/secure/RapidBoard.jspa?rapidView=449&projectKey=TOOL&view=planning.nodetail"
}
function issues() {
jira jql "status = Open AND text ~ \"$*\" ORDER BY Created DESC"
}
2019-03-01 08:28:18 +00:00
function calendar() {
open -na "Google Chrome" --args "https://calendar.google.com/calendar/r?tab=mc"
}
2019-03-01 08:51:19 +00:00
function asana() {
open -na "Google Chrome" --args "https://app.asana.com"
}
2019-07-18 10:03:52 +00:00
function bookmarks() {
open -na "Google Chrome" --args "https://github.com/MorganGeek/bookmarks/blob/master/README.md"
}
function spotify() {
open -na "Google Chrome" --args "https://open.spotify.com/search/results/$*"
}
function lob() {
open -na "Google Chrome" --args "https://lobste.rs"
}