mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-04 13:56:19 +02:00
zsh: fix escaping of # and ?
This commit is contained in:
parent
d9ad68de04
commit
2df8d36f2f
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@
|
||||||
export MCFLY_PROMPT="❯"
|
export MCFLY_PROMPT="❯"
|
||||||
source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh
|
source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh
|
||||||
source ${pkgs.agdsn-zsh-config}/etc/zsh/zshrc
|
source ${pkgs.agdsn-zsh-config}/etc/zsh/zshrc
|
||||||
|
unsetopt extendedglob
|
||||||
|
|
||||||
|
|
||||||
function svpn() {
|
function svpn() {
|
||||||
unit=$(systemctl list-unit-files | grep "openconnect\|wg-quick\|wireguard\|openvpn\|openfortivpn" | cut -d "." -f1 | fzf --preview 'systemctl status {}')
|
unit=$(systemctl list-unit-files | grep "openconnect\|wg-quick\|wireguard\|openvpn\|openfortivpn" | cut -d "." -f1 | fzf --preview 'systemctl status {}')
|
||||||
|
|
Loading…
Add table
Reference in a new issue