diff options
| author | 2017-01-08 13:33:08 +0100 | |
|---|---|---|
| committer | 2017-01-08 13:33:08 +0100 | |
| commit | 0ee856c6f35f9eda412534f9e2a7b5e4954e6af6 (patch) | |
| tree | 4710d1224c8a8781d3462d0dbc364209f38bef10 /zsh | |
| parent | 562791b0ae258ba68851a025f954614fed1f0dd1 (diff) | |
| parent | a6a88fd424ea806ce89ce6b2aa1e0d6664b918de (diff) | |
| download | new-dotfiles-0ee856c6f35f9eda412534f9e2a7b5e4954e6af6.tar.gz new-dotfiles-0ee856c6f35f9eda412534f9e2a7b5e4954e6af6.zip | |
Merge remote-tracking branch 'origin/index' into index
Diffstat (limited to 'zsh')
| -rw-r--r-- | zsh/zshrc.org | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/zsh/zshrc.org b/zsh/zshrc.org index 8fa3cd4..15d7138 100644 --- a/zsh/zshrc.org +++ b/zsh/zshrc.org @@ -1,4 +1,5 @@ #+TITLE: ZSH +#+STARTUP: showall Autoload any ZSH function from =$HOME/.zsh/functions=. @@ -18,6 +19,13 @@ Autoload any ZSH function from =$HOME/.zsh/functions=. alias sbcl="rlwrap sbcl" #+END_SRC + This alias is useful for when I'm trying something new with + herbstluftwm. + + #+BEGIN_SRC sh + alias hc=herbstclient + #+END_SRC + * History Store ZSH history in a non-intrusive place. @@ -120,3 +128,21 @@ Autoload any ZSH function from =$HOME/.zsh/functions=. autoload -Uz compinit compinit #+END_SRC + +* Less + + I use a terminal that's always 80 columns wide. This means that a + lot of output doesn't fit on a single line. I use the less command a + lot to look at output that's too big and wide to view in my + terminal. The default doesn't make this any better though, so I use + these switches. Most of these I originally got from what git uses. + + #+BEGIN_SRC sh + export LESS="FXRSi" + #+END_SRC + + This causes less to immediately quit if there is no need to use a + pager (everything fits in a single screen) (=-F=). Doesn't clear the + screen when less is closed (=-X=). Handles ANSI colors (=-R=). Stops + long lines from wraping (=-S=). And makes searches case-insensitive + (=-i=). |
