Skip to main content

Questions tagged [hook]

0 votes
1 answer
116 views

I have a machine with the network interface enp0s3 which is assigned the IPv4 address 192.168.20.254. Furthermore, on another machine there is a DNS server listening on the IPv4 address 192.168.20.10. ...
Binarus's user avatar
  • 3,941
0 votes
1 answer
81 views

Say, I create a new repo, and try to commit. Git shows me *** Please tell me who you are. Run git config --global user.email "[email protected]" git config --global user.name "Your ...
Leo's user avatar
  • 103
0 votes
0 answers
37 views

I have two programs using the same configuration (chatty + pidgin) in ~/.purple but I wish to separate them into different configuration folders. My goal is to have chatty use only chatty's ...
FalcoGer's user avatar
  • 101
0 votes
1 answer
525 views

I would like to run a function every time a user presses a key in an interactive bash shell. I am wondering if bash has anything built in like the self-insert function in zsh? Alternatively, I am ...
falky's user avatar
  • 189
0 votes
2 answers
351 views

I'd like to automatically mount a nextcloud directory (webdav) with my keepass-database in it using rclone whenever I start KeepassXC and unmount it after closing Keepass. Is there any way to do this (...
captainh2o's user avatar
0 votes
1 answer
392 views

I would like to know if it's possible to define hook functions as arguments or env var when launching zsh instead of defining it in .zshrc or prompt. For example ; zsh -F preexec() { date } -F chpwd() ...
Jean Luc's user avatar
0 votes
0 answers
1k views

I have next record in crontab -e, running with user root. @reboot /usr/bin/curl --silent --insecure -v -X GET https://<myserver_with_hook>?key=9d722304320de0b074d8da74bf680874&mes='nik-pc ...
Nikita Kalitin's user avatar
-1 votes
1 answer
3k views

I would like to capture the stdout (as sent to a terminal), and perform some processing after it is output on the terminal (for the user). I want to know how to grab the output, process and make ...
100rabh's user avatar
  • 143

15 30 50 per page