打开终端时出现'unknown option: --bash'错误的求助
打开终端时出现'unknown option: --bash'错误的求助
大家好,我最近碰到个头疼的问题——每次打开终端,第一行都会弹出这条错误提示:unknown option: --bash
这是我的终端截图:
下面是我的~/.bashrc文件内容:
# ~/.bashrc: executed by bash(1) for non-login shells. # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # for examples # If not running interactively, don't do anything case $- in *i*) ;; *) return;; esac # don't put duplicate lines or lines starting with space in the history. # See bash(1) for more options HISTCONTROL=ignoreboth # append to the history file, don't overwrite it shopt -s histappend # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) HISTSIZE=1000 HISTFILESIZE=2000 # check the window size after each command and, if necessary, # update the values ...
备注:内容来源于stack exchange,提问作者abcdefgh
相关产品推荐
相关产品推荐

