diff --git a/README.txt b/README.txt index afbcd80..07aee7d 100644 --- a/README.txt +++ b/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 diff --git a/_keysnail.js b/_keysnail.js index c9c465b..791bfe8 100644 --- a/_keysnail.js +++ b/_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"] = [ diff --git a/profile b/profile index 4cd8f3c..a41a3e2 100755 --- a/profile +++ b/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