瀏覽代碼

Merge branch 'master' of github.com:10sr/dotfiles

pull/1/head
10sr 11 年之前
父節點
當前提交
06f20e0ae2
共有 3 個檔案被更改,包括 37 行新增2 行删除
  1. +28
    -0
      README.txt
  2. +8
    -1
      _keysnail.js
  3. +1
    -1
      profile

+ 28
- 0
README.txt 查看文件

@@ -1,3 +1,31 @@
Dotfiles
========


First Principle
---------------


__Do not go out of ways how the default environments work__.


There are many cases when I must work on foreign environments, and it is always
VERY irritating when things will not work as I expect, yet setting up my own
environment will be troublesome. So I avoid changing behaviors of tools,
except for emacs.

Emacs is the editor I usually use for coding. I decided to change the behavior
of emacs as I want without thinking about other environments. When I cannot use
my emacs.el I'll use vi or vim instead.

Other tools like bash and vim basically work in the same ways even when using my
rc files. The main changes are related to showing informations, typically the
bash prompt.


Sourcing flow
-------------

~/.bash_profile <= console login
|
|--~/.dotfiles/profile


+ 8
- 1
_keysnail.js 查看文件

@@ -54,6 +54,13 @@ function ignore(k, i) [k, null];
// }
// ]]></>.toString()
// );
style.register(
'@-moz-document url-prefix(\"http://www.tumblr.com/\") { #pagination {' +
'position: fixed;' +
'bottom: 50px;' +
'right: 100px;' +
'padding-right: 0px !important' +
'} }' , style.XHTML);

///////////////////////////////////
//search engine
@@ -74,7 +81,7 @@ plugins.options["search-url-list"] = [
["shoutcast","http://www.shoutcast.com/Internet-Radio/%q"],
["delicious 10sr",
"http://delicious.com/10sr?addtag=%q&setcount=50&opennew=1"],
["open raw","%r"],
["open raw","%r"]
];

plugins.options["my-keysnail-bookmarks"] = [


+ 1
- 1
profile 查看文件

@@ -35,7 +35,7 @@ export RUBYLIB="$RUBYLIB:$HOME/.local/lib/gems/lib"
#_python_pkg_conf="/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$_python_pkg_conf"

export MANPATH="$MANPATH:$HOME/.local/share/man"
#export MANPATH="`manpath`:$HOME/.local/share/man"

# in my environment powerdown does not work
type setterm >/dev/null 2>&1 && setterm -blank 30 -powersave on # -powerdown 10

Loading…
取消
儲存