Commit graph

6 commits

Author SHA1 Message Date
AbelAnaya
b908ce803b refactor: Avoid if statements with double quotes and use single quotes instead to improve portability of plugin 2023-11-14 23:17:38 +01:00
AbelAnaya
ad59ebcf3a refactor: Improve script maintainability and readability with cleaner functions 2023-11-14 23:16:55 +01:00
AbelAnaya
31c8af3446 refactor: Remove code duplication and check local config file exists before parsing 2023-11-13 23:55:20 +01:00
AbelAnaya
ffa8d28142 refactor: Check both /etc/ssh/ssh_config and ~/.ssh/config to retrieve user under host 2023-11-07 18:43:49 +01:00
AbelAnaya
ac4639be61 fix: Use correct path for ssh configuration file 2023-11-06 22:21:57 +01:00
AbelAnaya
c9c08f58e0 feat: Add ssh-session plugin
Shows user and hostname of active ssh session if any in the current tmux pane. Connected port
is also available to show under configuration option (default false)
2023-10-12 00:10:35 +02:00