✨ Creating some good shortcuts here...
This commit is contained in:
parent
a713c086ab
commit
679c3285fc
1 changed files with 13 additions and 0 deletions
|
|
@ -87,4 +87,17 @@ matches:
|
||||||
- trigger: ":cle"
|
- trigger: ":cle"
|
||||||
replace: "console.error()"
|
replace: "console.error()"
|
||||||
|
|
||||||
|
# Pings google dns server
|
||||||
|
- trigger: ":ping"
|
||||||
|
replace: "ping 8.8.8.8"
|
||||||
|
|
||||||
|
# Returns public ip address
|
||||||
|
- trigger: ":ip"
|
||||||
|
replace: "{{output}}"
|
||||||
|
vars:
|
||||||
|
- name: output
|
||||||
|
type: shell
|
||||||
|
params:
|
||||||
|
cmd: "curl ifconfig.me ; echo ''"
|
||||||
|
|
||||||
# And much more! For more information, visit the docs: https://espanso.org/docs/
|
# And much more! For more information, visit the docs: https://espanso.org/docs/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue