@@ -121,7 +121,7 @@ shellIntegrationCommand
121121 if ( isInstalled ) {
122122 console . log ( chalk . green ( '✅ Installed' ) ) ;
123123 console . log ( chalk . white ( `📁 Config directory: ${ process . env [ 'HOME' ] } /.config/devxp/` ) ) ;
124- console . log ( chalk . white ( ` 📄 Integration file: shell-integration.zsh` ) ) ;
124+ console . log ( chalk . white ( ' 📄 Integration file: shell-integration.zsh' ) ) ;
125125
126126 // Test if it works
127127 const testResult = await shellIntegration . test ( ) ;
@@ -238,34 +238,34 @@ shellIntegrationCommand
238238 . action ( async ( mode ) => {
239239 try {
240240 switch ( mode ?. toLowerCase ( ) ) {
241- case 'on' :
242- shellIntegration . enablePrivacyMode ( ) ;
243- console . log ( chalk . green ( '🔒 Privacy mode enabled' ) ) ;
244- console . log ( chalk . yellow ( 'Commands will not be tracked while privacy mode is active' ) ) ;
245- break ;
241+ case 'on' :
242+ shellIntegration . enablePrivacyMode ( ) ;
243+ console . log ( chalk . green ( '🔒 Privacy mode enabled' ) ) ;
244+ console . log ( chalk . yellow ( 'Commands will not be tracked while privacy mode is active' ) ) ;
245+ break ;
246246
247- case 'off' :
248- shellIntegration . disablePrivacyMode ( ) ;
249- console . log ( chalk . green ( '🔓 Privacy mode disabled' ) ) ;
250- console . log ( chalk . cyan ( 'Command tracking resumed' ) ) ;
251- break ;
247+ case 'off' :
248+ shellIntegration . disablePrivacyMode ( ) ;
249+ console . log ( chalk . green ( '🔓 Privacy mode disabled' ) ) ;
250+ console . log ( chalk . cyan ( 'Command tracking resumed' ) ) ;
251+ break ;
252252
253- case 'status' :
254- case undefined :
255- const isPrivacy = shellIntegration . isPrivacyMode ( ) ;
256- if ( isPrivacy ) {
257- console . log ( chalk . yellow ( '🔒 Privacy mode is ON' ) ) ;
258- console . log ( chalk . gray ( 'Commands are not being tracked' ) ) ;
259- } else {
260- console . log ( chalk . green ( '🔓 Privacy mode is OFF' ) ) ;
261- console . log ( chalk . gray ( 'Commands are being tracked normally' ) ) ;
262- }
263- break ;
253+ case 'status' :
254+ case undefined :
255+ const isPrivacy = shellIntegration . isPrivacyMode ( ) ;
256+ if ( isPrivacy ) {
257+ console . log ( chalk . yellow ( '🔒 Privacy mode is ON' ) ) ;
258+ console . log ( chalk . gray ( 'Commands are not being tracked' ) ) ;
259+ } else {
260+ console . log ( chalk . green ( '🔓 Privacy mode is OFF' ) ) ;
261+ console . log ( chalk . gray ( 'Commands are being tracked normally' ) ) ;
262+ }
263+ break ;
264264
265- default :
266- console . error ( chalk . red ( `Invalid mode: ${ mode } ` ) ) ;
267- console . log ( chalk . cyan ( 'Use: on, off, or status' ) ) ;
268- process . exit ( 1 ) ;
265+ default :
266+ console . error ( chalk . red ( `Invalid mode: ${ mode } ` ) ) ;
267+ console . log ( chalk . cyan ( 'Use: on, off, or status' ) ) ;
268+ process . exit ( 1 ) ;
269269 }
270270
271271 } catch ( error ) {
0 commit comments