Browse Source

add new lines so that columns do not exceed 80

pull/1/head
10sr 11 years ago
parent
commit
b5278ed52a
3 changed files with 18 additions and 10 deletions
  1. +12
    -7
      shrc
  2. +4
    -2
      vimrc
  3. +2
    -1
      xinitrc

+ 12
- 7
shrc View File

@@ -318,10 +318,12 @@ __safe_alias sudoe="sudoedit"
# __safe_alias halt="sudo halt"
# __safe_alias reboot="sudo reboot"
null type dbus-send && {
alias suspend="dbus-send --system --print-reply --dest=org.freedesktop.UPower \
/org/freedesktop/UPower org.freedesktop.UPower.Suspend"
alias hibernate="dbus-send --system --print-reply --dest=org.freedesktop.UPower \
/org/freedesktop/UPower org.freedesktop.UPower.Hibernate"
alias suspend="dbus-send --system --print-reply \
--dest=org.freedesktop.UPower \
/org/freedesktop/UPower org.freedesktop.UPower.Suspend"
alias hibernate="dbus-send --system --print-reply \
--dest=org.freedesktop.UPower \
/org/freedesktop/UPower org.freedesktop.UPower.Hibernate"
}
alias rand="echo \$RANDOM"
__safe_alias xunp="file-roller -h"
@@ -1042,11 +1044,14 @@ ipaddress(){

__my_ps1_str=""

test -n "$__MY_SCRIPT" && __my_ps1_str="${__my_ps1_str}${__my_c5}SCR${__my_cdef} "
test -n "$__MY_SCRIPT" && \
__my_ps1_str="${__my_ps1_str}${__my_c5}SCR${__my_cdef} "

test -n "$SSH_CONNECTION" && __my_ps1_str="${__my_ps1_str}${__my_c5}SSH${__my_cdef} "
test -n "$SSH_CONNECTION" && \
__my_ps1_str="${__my_ps1_str}${__my_c5}SSH${__my_cdef} "

test -n "$__MY_DTACH" && __my_ps1_str="${__my_ps1_str}${__my_c5}DTACH${__my_cdef} "
test -n "$__MY_DTACH" && \
__my_ps1_str="${__my_ps1_str}${__my_c5}DTACH${__my_cdef} "

__my_ps1_scale(){
if null type stty && ! $ismsys


+ 4
- 2
vimrc View File

@@ -21,7 +21,8 @@ set viminfo+=n~/.vim/viminfo " viminfo
set wildmode=longest,list,full
set hidden " can switch to another buffer even when editting a file
"set backspace=indent,eol,start " backspace can erase these things
"set autochdir " automatically change current dir according to current file. cant use with mac
" automatically change current dir according to current file. cant use with mac
"set autochdir
set mouse=h " do not use mouse
set clipboard+=unnamed " use x clipboard, seems not to work
set browsedir=buffer " default dir for Explorer
@@ -34,7 +35,8 @@ set fileencodings=utf-8,shift-jis,euc-jp,latin1
set showmode
set title " display editting file on titlebar
set list " display spcial letters such as newline or whitespace
set listchars=tab:>-,extends:<,trail:-,eol:$ " set letters for displaying special letter
" set letters for displaying special letter
set listchars=tab:>-,extends:<,trail:-,eol:$
set ruler " display current line and column
set nonumber " do not show line number at left side
"set laststatus=2 " always show status line


+ 2
- 1
xinitrc View File

@@ -27,7 +27,8 @@ type synclient >/dev/null 2>&1 && {
}

xset s 1800 # go blank after 30 min
xset dpms 1810 1820 1830 # standby, suspend and off seem not to be different for my environment
# standby, suspend and off seem not to be different for my environment
xset dpms 1810 1820 1830

unset LC_MESSAGES
export LANG=ja_JP.utf8


Loading…
Cancel
Save