Skip to content

Commit

Permalink
Add "vscode" plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
tadija committed Dec 18, 2023
1 parent 7a6100c commit eb94c4d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/vscode.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# https://github.com/tadija/AEDotFiles
# vscode.sh

# https://github.com/microsoft/vscode-remote-release/issues/1688#issuecomment-1708577380
alias sudocode='SUDO_EDITOR="$(which code) --wait" sudoedit'
1 change: 1 addition & 0 deletions system/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ source $df/system/commands.sh

for plugin in $dfplugins; do
local file=$(df-find $plugin)
echo "df reloading: $file"
if [ -e "$file" ]; then
source $file
fi
Expand Down

0 comments on commit eb94c4d

Please sign in to comment.