diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/home/ghostty.nix | 1 | ||||
| -rw-r--r-- | modules/home/zsh.nix | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/modules/home/ghostty.nix b/modules/home/ghostty.nix index 1d42944..77e30d3 100644 --- a/modules/home/ghostty.nix +++ b/modules/home/ghostty.nix @@ -10,5 +10,6 @@ window-theme = "dark" window-inherit-working-directory = true window-inherit-font-size = true + title = "" ''; } diff --git a/modules/home/zsh.nix b/modules/home/zsh.nix index c2805a3..142d0b4 100644 --- a/modules/home/zsh.nix +++ b/modules/home/zsh.nix @@ -172,6 +172,12 @@ in --jq 'map({url, createdAt, title, labels: [.labels[].name], assignees: [.assignees[].login], body, number: "#\(.number)", comments: .comments | map({ body: .body, createdAt: .createdAt })})' } + function ssh() { + printf '\033]0;ssh %s\033\\' "$*" + command ssh "$@" + printf '\033]0;%s@%s:%s\033\\' "$USER" "$HOST" "''${PWD/#$HOME/~}" + } + function g() { export GOOGLE_CLOUD_PROJECT="sokkel-sandbox" export GOOGLE_CLOUD_LOCATION="europe-north1" |
