View Issue Details

IDProjectCategoryView StatusLast Update
0007379Kali LinuxGeneral Bugpublic2021-10-14 08:36
Reporterseeyoupro Assigned Todaniruiz  
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version2021.3 
Summary0007379: .bashrc can't be run
Description

when I run "source .bashrc", some thing went wrong. It seems that one of its related scripts made a mistake on regex grammar.

Additional Information

┌──(kali㉿kali)-[~/tmp]
└─$ . ~/.bashrc 127 ⨯
Command 'shopt' not found, did you mean:
command 'shout' from deb libshout-tools
Try: sudo apt install <deb name>
Command 'shopt' not found, did you mean:
command 'shout' from deb libshout-tools
Try: sudo apt install <deb name>
Command 'shopt' not found, did you mean:
command 'shout' from deb libshout-tools
Try: sudo apt install <deb name>
Command 'shopt' not found, did you mean:
command 'shout' from deb libshout-tools
Try: sudo apt install <deb name>
complete: command not found
complete: command not found
complete: command not found
complete: command not found
complete: command not found
complete: command not found
complete: command not found
complete: command not found
complete: command not found
complete: command not found
/usr/share/bash-completion/bash_completion:1596: parse error near `|'

[\033[;32m]┌──([\033[1;34m]\u㉿\h[\033[;32m])-[[\033[0;1m]\w[\033[;32m]]\n[\033[;32m]└─[\033[1;34m]$[\033[0m]

Activities

daniruiz

daniruiz

2021-10-14 08:35

manager   ~0015288

You are trying to source bashrc but you are using zsh.
You can switch your shell to bash and then source that file, or just use .zshrc

Issue History

Date Modified Username Field Change
2021-10-09 16:07 seeyoupro New Issue
2021-10-14 08:35 daniruiz Note Added: 0015288
2021-10-14 08:36 daniruiz Assigned To => daniruiz
2021-10-14 08:36 daniruiz Status new => closed
2021-10-14 08:36 daniruiz Resolution open => no change required