有什么是你不能没有的,会让我的生活变得更轻松吗?以下是我使用的一些(“磁盘空间”和“文件夹”特别方便)。
# some more ls aliases
alias ll='ls -alh'
alias la='ls -A'
alias l='ls -CFlh'
alias woo='fortune'
alias lsd="ls -alF | grep /$"
# This is GOLD for finding out what is taking so much space on your drives!
alias diskspace="du -S | sort -n -r |more"
# Command line mplayer movie watching for the win.
alias mp="mplayer -fs"
# Show me the size (sorted) of only the folders in this directory
alias folders="find . -maxdepth 1 -type d -print …
Run Code Online (Sandbox Code Playgroud) 基本上就像我在下面发布的一些我自己的一样。我正在寻找程序“屏幕”的附加功能。至少看看最后一行屏幕会话底部的一个很棒的“菜单栏”。
## gyaresu's .screenrc 2008-03-25
# http://delicious.com/search?p=screenrc
# Don't display the copyright page
startup_message off
# tab-completion flash in heading bar
vbell off
# keep scrollback n lines
defscrollback 1000
# Doesn't fix scrollback problem on xterm because if you scroll back
# all you see is the other terminals history.
# termcapinfo xterm|xterms|xs|rxvt ti@:te@
# These will let you use
bind -c selectHighs 0 select 10 #these three commands are
bind -c selectHighs 1 select 11 #added to the …
Run Code Online (Sandbox Code Playgroud) 至少我总是在 /etc/vim/vimrc 中取消注释“syntax on”
我用fish
壳。我正在尝试使用solarized themevim
在里面运行,但是除非我运行,否则颜色会损坏:tmux
set -lx TERM screen-256color-bce;
Run Code Online (Sandbox Code Playgroud)
跑步前tmux attach
。
每天都要运行它很烦人,所以我想永久设置 TERM 变量。但是,当我使用以下命令设置此特定变量时,fish 似乎忽略了set -U
:
$ set -U foo bar; echo $foo
foo bar
$ set -U TERM screen-256color-bce; echo $TERM
TERM xterm
$ set -lx TERM screen-256color-bce; echo $TERM
TERM screen-256color-bce
Run Code Online (Sandbox Code Playgroud)
我甚至试图把set -lx TERM screen-256color-bce
在~/.config/fish/config.fish
,而是一个新的鱼(启动外tmux
)总是TERM
设置为xterm
。
我正在清理一些由 Mac OS X 处理过的文件。这也是 FTP 传输的目的地。我知道.DS_Store
文件。但是我看到了一些._XXXX
文件,即。以点和下划线为前缀的文件。那是某种 Mac OS X 备份/传输文件吗?他们会从哪里来?