Skip to content

Commit

Permalink
Update ssh_tool.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
eooce authored Jun 11, 2024
1 parent a94fe7e commit dbc68ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssh_tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ add_alias() {
for alias_name in "${alias_names[@]}"; do
if ! grep -q "alias $alias_name=" "$config_file"; then
echo "Adding alias $alias_name to $config_file"
echo "alias $alias_name='cd ~ && ./ssh_tool.sh'" >> "$config_file"
echo "alias $alias_name='curl -fsSL https://raw.githubusercontent.com/eooce/ssh_tool/main/ssh_tool.sh && chmod +x ssh_tool.sh && ./ssh_tool.sh'" >> "$config_file"
fi
done
. "$config_file"
Expand Down

0 comments on commit dbc68ef

Please sign in to comment.