Skip to content

Commit

Permalink
add sudocode
Browse files Browse the repository at this point in the history
  • Loading branch information
ipcjs committed Sep 7, 2023
1 parent 69c2cd2 commit 7148c6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions etc/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ alias cfpget='PUB_HOSTED_URL=https://pub.flutter-io.cn flutter pub get'
alias cflutter='PUB_HOSTED_URL=https://pub.flutter-io.cn flutter'
alias cflutter+='PUB_HOSTED_URL=https://pub.flutter-io.cn flutter+'

alias sudocode='SUDO_EDITOR="$(which code) --wait" sudoedit'

if [ -n "$ZSH_VERSION" ]; then
# config zsh
: # empty command
Expand Down

0 comments on commit 7148c6b

Please sign in to comment.