mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 05:12:27 +00:00
Compare commits
3 Commits
5890bc8378
...
a965ef0729
Author | SHA1 | Date | |
---|---|---|---|
|
a965ef0729 | ||
|
696110eae5 | ||
|
25ace4672d |
19
.github/release.yml
vendored
19
.github/release.yml
vendored
|
@ -1,20 +1,23 @@
|
||||||
changelog:
|
changelog:
|
||||||
categories:
|
categories:
|
||||||
- title: '🚀 Features'
|
- title: '🚀 Features'
|
||||||
labels:
|
label: 'enhancement'
|
||||||
- 'feature'
|
|
||||||
- 'enhancement'
|
|
||||||
- title: '🐛 Bug Fixes'
|
- title: '🐛 Bug Fixes'
|
||||||
labels:
|
label: 'bug'
|
||||||
- 'fix'
|
- title: '⚙️ Refactoring'
|
||||||
- 'bugfix'
|
label: 'refactor'
|
||||||
- 'bug'
|
- title: '🧩 UI/UX'
|
||||||
|
label: 'UI/UX'
|
||||||
- title: '📚 Documentation'
|
- title: '📚 Documentation'
|
||||||
label: 'documentation'
|
label: 'documentation'
|
||||||
- title: '🔒 Security'
|
- title: '🔒 Security'
|
||||||
label: 'security'
|
label: 'security'
|
||||||
- title: '🧰 GitHub Actions'
|
- title: '🧰 GitHub Actions'
|
||||||
label: 'github actions'
|
label: 'github_actions'
|
||||||
|
- title: '🦀 Rust'
|
||||||
|
label: 'rust'
|
||||||
|
- title: '📃 Scripting'
|
||||||
|
label: 'script'
|
||||||
exclude:
|
exclude:
|
||||||
labels:
|
labels:
|
||||||
- 'skip-changelog'
|
- 'skip-changelog'
|
|
@ -4,14 +4,15 @@
|
||||||
|
|
||||||
# Check if ~/.ssh/config exists, if not, create it
|
# Check if ~/.ssh/config exists, if not, create it
|
||||||
if [ ! -f ~/.ssh/config ]; then
|
if [ ! -f ~/.ssh/config ]; then
|
||||||
touch ~/.ssh/config
|
mkdir -p "$HOME/.ssh"
|
||||||
chmod 600 ~/.ssh/config
|
touch "$HOME/.ssh/config"
|
||||||
|
chmod 600 "$HOME/.ssh/config"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Function to show available hosts from ~/.ssh/config
|
# Function to show available hosts from ~/.ssh/config
|
||||||
show_available_hosts() {
|
show_available_hosts() {
|
||||||
printf "%b\n" "Available Systems:"
|
printf "%b\n" "Available Systems:"
|
||||||
grep -E "^Host " ~/.ssh/config | awk '{print $2}'
|
grep -E "^Host " "$HOME/.ssh/config" | awk '{print $2}'
|
||||||
printf "%b\n" "-------------------"
|
printf "%b\n" "-------------------"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user