AstraGist

Explore

  • All gists
  • Topics
  • Users
Website
Give feedback on the new UI Powered by Opengist ⋅ 13ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login

All gists

All Recently liked Recently forked
Recently created Least recently created Recently updated Least recently updated
AstragoDE

AstragoDE / ssh-login-setup.sh

Last active 4 days ago
0 0 0 2
1 # Launch sequence for interactive SSH sessions only
2 if [[ $- == *i* ]] && [[ -n "$SSH_TTY" ]]; then
3 if [[ -z "$ZELLIJ" ]]; then
4 # Set Nushell as the target shell for all Zellij panes/tabs
5 export SHELL="$(command -v nu)"
6
7 if [[ "$ZELLIJ_AUTO_ATTACH" == "true" ]]; then
8 zellij attach -c
9 else
10 zellij