Is your feature request related to a problem? Please describe:
I would like the experience on remote servers to be as consistent as possible
Describe the solution:
Provide/create .rc files that can be placed on server when sshing to that provide consistent experience
- prompt similar to on my mac, but different enough to differentiate
- run gitstatus in git repos
- network exploration commands
- store useful commands on the server
- use
@ () { ... } function?
Also would be nice to get information when logging into server
(https://unix.stackexchange.com/questions/16255/how-can-i-change-whats-displayed-at-a-login-shell)
- explanation for mounted drives?
- size of disk? large files?
- unique installed dirs/apps?
- search typical locations?
- list of users? groups?
- reminder about crontabs
- host name
- history size + recent history
- show $PATH? what programs are available
- recent user/current user info (also ports being used)
- review zshrc?
Send message on signout?
Describe alternatives you've considered:
N/A
Links/Additional context:
Recent History Script
Testing:
- Place .rc files on amazon server and test that experience is more consistent and helpful info is provided to the user
- ssh to mac mini?
- test on work server?
Is your feature request related to a problem? Please describe:
I would like the experience on remote servers to be as consistent as possible
Describe the solution:
Provide/create .rc files that can be placed on server when sshing to that provide consistent experience
@ () { ... }function?Also would be nice to get information when logging into server
(https://unix.stackexchange.com/questions/16255/how-can-i-change-whats-displayed-at-a-login-shell)
mountoutputfindmnt?du -h- size of files in current directory (-ah for recursive this directory)df -h- mounted drive sizesudo du -a | sort -n -r | head -n 20- current directorysudo du -a / | sort -n -r | head -n 20- entire computerless /etc/usersandless /etc/groupscrontab -lSend message on signout?
Describe alternatives you've considered:
N/A
Links/Additional context:
Recent History Script
Testing: