1
0
Fork 0

Auto-load cargo in bash only when installed

This commit is contained in:
Nexus 2024-04-29 19:08:35 +01:00
parent 62b0d0c8c5
commit 38077c376e
Signed by: nex
GPG key ID: 0FA334385D0B689F
2 changed files with 5 additions and 32 deletions

View file

@ -23,4 +23,8 @@ if [ -d ~/.bashrc.d ]; then
done done
fi fi
unset rc unset rc
. "$HOME/.cargo/env"
if [ -f "$HOME/.cargo/env" ]; then
. "$HOME/.cargo/env"
fi

View file

@ -1,31 +0,0 @@
[$Version]
update_info=spectacle_clipboard.upd:clipboard-settings-change,spectacle_rememberregion.upd:spectacle-migrate-rememberregion
[Annotations]
annotationToolType=8
freehandStrokeWidth=12
rectangleStrokeColor=255,173,173
rectangleStrokeWidth=12
[General]
autoSaveImage=true
clipboardGroup=PostScreenshotCopyImage
launchAction=DoNotTakeScreenshot
onLaunchAction=DoNotTakeScreenshot
rememberSelectionRect=Never
useReleaseToCapture=true
[ImageSave]
imageFilenameTemplate=/<yyyy>/<MM>/<dd>/<hh>-<mm>-<ss>-<title>
lastImageSaveLocation=file:///home/nex/Pictures/Screenshots/Screenshot_20240324_164943.png
preferredImageFormat=WEBP
translatedScreenshotsFolder=Screenshots
[Save]
defaultSaveImageFormat=JPEG
lastSaveLocation=file:///home/nex/Pictures/screenshots/2024/03/10/22:43:26.jpeg
saveFilenameFormat=screenshots/%Y/%M/%D/%H:%m:%S-%T
[VideoSave]
translatedScreencastsFolder=Screencasts
videoFilenameTemplate=/<yyyy>/<MM>/<dd>/<hh>-<mm>-<ss>-<title>