-
Notifications
You must be signed in to change notification settings - Fork 30
/
sample
42 lines (33 loc) · 1.17 KB
/
sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
##### Sample Yashrc #####
# This is a sample initialization script for yash. Copy this file to
# $XDG_CONFIG_HOME/yash/rc or ~/.yashrc
# and add your favorite customization to it.
# Firstly, load the common customization script.
# If you don't like settings applied in this script, remove this line.
. --autoload --no-alias initialization/common
# These are additional aliases that are not defined in the common script.
# Uncomment to enable them.
#alias g='grep'
#alias l='$PAGER'
#alias --global L='|$PAGER'
#alias --global N='>/dev/null 2>&1' N1='>/dev/null' N2='2>/dev/null'
# Uncomment if you want to clear the screen with Ctrl-L.
#bindkey --emacs '\^L' clear-and-redraw-all
#bindkey --vi-insert '\^L' clear-and-redraw-all
#bindkey --vi-command '\^L' clear-and-redraw-all
# Uncomment to enable direnv support. (jq required)
#_update_direnv() {
# eval "$(
# direnv export json |
# jq -r 'to_entries | .[] |
# if .value == null then
# @sh "unset \(.key)"
# else
# @sh "export \(.key)=\(.value)"
# end'
# )"
#}
#_update_direnv
#YASH_AFTER_CD=("$YASH_AFTER_CD" '_update_direnv')
# And add your own customization below.
# vim: set et sw=2 sts=2 tw=78 ft=sh: