小编Ary*_*ono的帖子

终端第一行没有换行符

我已经修改了我的 Ubuntu 17.10 系统,使其看起来像 macOS。现在我对我的终端的行为感到困惑。换行符显示不正确。这个视频展示了我的意思。

修改后的文件是~/.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 …
Run Code Online (Sandbox Code Playgroud)

command-line bash bashrc macbuntu

2
推荐指数
1
解决办法
1599
查看次数

标签 统计

bash ×1

bashrc ×1

command-line ×1

macbuntu ×1