.bash_配置文件具有相同代码行的副本

.bash_配置文件具有相同代码行的副本,bash,shell,Bash,Shell,有人能帮我一下,告诉我我的bash_档案是怎么回事吗。我不知道为什么它有这么多相同代码行的重复 什么是^[sections?有一次我试图为sublime text设置一个打开文件的快捷方式,这可能是因为这个吗?正确的方法是什么?我可以删除重复的代码行而不破坏某些东西吗 # Setting PATH for Python 3.2 # The orginal version is saved in .bash_profile.pysave PATH="/Library/Frameworks/Pyth

有人能帮我一下,告诉我我的bash_档案是怎么回事吗。我不知道为什么它有这么多相同代码行的重复

什么是^[sections?有一次我试图为sublime text设置一个打开文件的快捷方式,这可能是因为这个吗?正确的方法是什么?我可以删除重复的代码行而不破坏某些东西吗

# Setting PATH for Python 3.2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.2/bin:${PATH}"
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

^[^[^[^[PATH=/Applications/Sublime Text 2.app/Contents/ShareSupport/bin/subl
export PATH=$PATH:~/bin

cd
ls
br
-br
-^[^[^[^[^[^[^[^[^[^[^[^[
"~/.bash_profile" 28L, 763C

# Setting PATH for Python 3.2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.2/bin:${PATH}"
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

^[^[^[^[PATH=/Applications/Sublime Text 2.app/Contents/ShareSupport/bin/subl
export PATH=$PATH:~/bin

cd
ls
br
-br
-^[^[^[^[^[^[^[^[^[^[^[^[


# Setting PATH for Python 3.2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.2/bin:${PATH}"
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

^[^[^[^[PATH=/Applications/Sublime Text 2.app/Contents/ShareSupport/bin/subl
export PATH=$PATH:~/bin

cd
ls
br
-br
-^[^[^[^[^[^[^[^[^[^[^[^[

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*


~
~
~
~
~
~
~
# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

^[^[^[^[PATH=/Applications/Sublime Text 2.app/Contents/ShareSupport/bin/subl
export PATH=$PATH:~/bin

cd
ls
br
-br
-^[^[^[^[^[^[^[^[^[^[^[^[

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*


~
~
~
~
~
~
# Setting PATH for Python 3.2
# The orginal version is saved in .bash_profile.pysave
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

^[^[^[^[PATH=/Applications/Sublime Text 2.app/Contents/ShareSupport/bin/subl
export PATH=$PATH:~/bin

cd
ls
br
-br
-^[^[^[^[^[^[^[^[^[^[^[^[

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*


~
~
~
~
~
~
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

^[^[^[^[PATH=/Applications/Sublime Text 2.app/Contents/ShareSupport/bin/subl
export PATH=$PATH:~/bin

cd
ls
br
-br
-^[^[^[^[^[^[^[^[^[^[^[^[

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*


~
~
~
~
PATH="/Library/Frameworks/Python.framework/Versions/3.2/bin:${PATH}"
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

^[^[^[^[PATH=/Applications/Sublime Text 2.app/Contents/ShareSupport/bin/subl
export PATH=$PATH:~/bin

cd
ls
br
-br
-^[^[^[^[^[^[^[^[^[^[^[^[

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*


~
~
~
~

# Setting PATH for Python 3.2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.2/bin:${PATH}"
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

^[^[^[^[PATH=/Applications/Sublime Text 2.app/Contents/ShareSupport/bin/subl
export PATH=$PATH:~/bin

cd
ls
br
-br
-^[^[^[^[^[^[^[^[^[^[^[^[

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*


~
~
~

# Setting PATH for Python 3.2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.2/bin:${PATH}"
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

^[^[^[^[PATH=/Applications/Sublime Text 2.app/Contents/ShareSupport/bin/subl
export PATH=$PATH:~/bin

cd
ls
br
-br
-^[^[^[^[^[^[^[^[^[^[^[^[

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*


~
~
~

# Setting PATH for Python 3.2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.2/bin:${PATH}"
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

^[^[^[^[PATH=/Applications/Sublime Text 2.app/Contents/ShareSupport/bin/subl
export PATH=$PATH:~/bin

cd
ls
br
-br
-^[^[^[^[^[^[^[^[^[^[^[^[

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*


~
~
~

# Setting PATH for Python 3.2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.2/bin:${PATH}"
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

^[^[^[^[PATH=/Applications/Sublime Text 2.app/Contents/ShareSupport/bin/subl
export PATH=$PATH:~/bin

cd
ls
br
-br
-^[^[^[^[^[^[^[^[^[^[^[^[

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*


~
~
~

# Setting PATH for Python 3.2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.2/bin:${PATH}"
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

^[^[^[^[PATH=/Applications/Sublime Text 2.app/Contents/ShareSupport/bin/subl
export PATH=$PATH:~/bin

cd
ls
br
-br
-^[^[^[^[^[^[^[^[^[^[^[^[

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*


~
~
~
~

# Setting PATH for Python 3.2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.2/bin:${PATH}"
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

^[^[^[^[PATH=/Applications/Sublime Text 2.app/Contents/ShareSupport/bin/subl
export PATH=$PATH:~/bin

cd
ls
br
-br
-^[^[^[^[^[^[^[^[^[^[^[^[

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*


~
~
~
~

# Setting PATH for Python 3.2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.2/bin:${PATH}"
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

^[^[^[^[PATH=/Applications/Sublime Text 2.app/Contents/ShareSupport/bin/subl
export PATH=$PATH:~/bin

cd
ls
br
-br
-^[^[^[^[^[^[^[^[^[^[^[^[

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*


~
~
~
~
-- INSERT --

看起来像是一些Vim的愚蠢行为,在错误的地方键入命令,意外地复制和粘贴,诸如此类

^[
是在不处理转义的程序中按转义键生成的字符。
^[^[^[^[^[^[^[^[^[^[^[^[
看起来像是有人在试图退出程序时捣碎转义键。Vim不应该这样做,但其他文本编辑器可能会这样做

“~/.bash_profile”28L,763C
是Vim中的一个典型状态行。我猜它是无意中从屏幕复制并粘贴到文件中的。这同样适用于

~
~
~
~
-- INSERT --
重复的拷贝可能是由于一堆重复的粘贴。这可能很简单,只需在Vim中点击鼠标几次,或者在不处于插入模式时重复按
p


不管怎么说,只要把这一切都清理干净。如果你发现自己在Vim中做了一大堆错误的编辑,一个快速的解决办法是按Escape几次,然后键入
:qa!
回车。这是
q
表示退出,
a
表示所有窗口,以及
表示不保存,请退出!

看起来像是Vim的傻瓜,泰ping命令在错误的位置,意外的复制和粘贴,诸如此类

^[
是在不处理转义的程序中按转义键生成的字符。
^[^[^[^[^[^[^[^[^[^[^[^[
看起来像是有人在试图退出程序时捣碎转义键。Vim不应该这样做,但其他文本编辑器可能会这样做

“~/.bash_profile”28L,763C
是Vim中的一个典型状态行。我猜它是无意中从屏幕复制并粘贴到文件中的。这同样适用于

~
~
~
~
-- INSERT --
重复的拷贝可能是由于一堆重复的粘贴。这可能很简单,只需在Vim中点击鼠标几次,或者在不处于插入模式时重复按
p

不管怎么说,只要把这一切都清理干净。如果你发现自己在Vim中做了一大堆错误的编辑,一个快速的解决方法是按Escape几次,然后键入
:qa!
回车。这就是
q
表示退出,
a
表示所有窗口,以及
表示不保存只需退出