Permalink
Browse files

Finally remove old fish config files

  • Loading branch information...
1 parent 619e940 commit b2a77d3e638c4fc1c76b9a0f2fd94918130dbcfc @bjeanes committed Oct 23, 2011
Showing with 8 additions and 822 deletions.
  1. +0 โˆ’3 .gitignore
  2. +6 โˆ’0 .gitmodules
  3. +0 โˆ’10 fish/bin/edit_gem
  4. +0 โˆ’12 fish/bin/gem_doc
  5. +0 โˆ’15 fish/bin/parse_db_yml
  6. +0 โˆ’3 fish/bin/rvm
  7. +0 โˆ’13 fish/completions/cap.fish
  8. +0 โˆ’5 fish/completions/cdgem.fish
  9. +0 โˆ’1 fish/completions/createdb.fish
  10. +0 โˆ’1 fish/completions/cucumber.fish
  11. +0 โˆ’1 fish/completions/dropdb.fish
  12. +0 โˆ’3 fish/completions/edit_gem.fish
  13. +0 โˆ’3 fish/completions/gem_doc.fish
  14. +0 โˆ’16 fish/completions/git-svn.fish
  15. +0 โˆ’226 fish/completions/git.fish
  16. +0 โˆ’1 fish/completions/pg_dump.fish
  17. +0 โˆ’1 fish/completions/psql.fish
  18. +0 โˆ’13 fish/completions/rake.fish
  19. +0 โˆ’1 fish/completions/rcd.fish
  20. +0 โˆ’1 fish/completions/rmate.fish
  21. +0 โˆ’42 fish/config.fish
  22. +0 โˆ’4 fish/functions/__completion_cache_path.fish
  23. +0 โˆ’8 fish/functions/__db_list.fish
  24. +0 โˆ’5 fish/functions/__db_list_pg.fish
  25. +0 โˆ’8 fish/functions/__db_list_web.fish
  26. +0 โˆ’24 fish/functions/__detect_webapp.fish
  27. +0 โˆ’51 fish/functions/__git_ps1.fish
  28. +0 โˆ’4 fish/functions/__sinatra_app.fish
  29. +0 โˆ’16 fish/functions/c.fish
  30. +0 โˆ’4 fish/functions/cdgem.fish
  31. +0 โˆ’4 fish/functions/cf.fish
  32. +0 โˆ’5 fish/functions/clean_rake_cache.fish
  33. +0 โˆ’4 fish/functions/color_print.fish
  34. +0 โˆ’7 fish/functions/command_status_color.fish
  35. +0 โˆ’7 fish/functions/confirm.fish
  36. +0 โˆ’16 fish/functions/deplol.fish
  37. +0 โˆ’5 fish/functions/dvorak.fish
  38. +0 โˆ’4 fish/functions/eprof.fish
  39. +0 โˆ’4 fish/functions/et.fish
  40. +0 โˆ’8 fish/functions/fish_prompt.fish
  41. +0 โˆ’3 fish/functions/fish_title.fish
  42. +0 โˆ’5 fish/functions/ga.fish
  43. +0 โˆ’3 fish/functions/gau
  44. +0 โˆ’3 fish/functions/gc.fish
  45. +0 โˆ’5 fish/functions/gca.fish
  46. +0 โˆ’4 fish/functions/gcl.fish
  47. +0 โˆ’3 fish/functions/gco.fish
  48. +0 โˆ’3 fish/functions/gd.fish
  49. +0 โˆ’3 fish/functions/gdc..fish
  50. +0 โˆ’3 fish/functions/gdc.fish
  51. +0 โˆ’10 fish/functions/git_cwd_info.fish
  52. +0 โˆ’7 fish/functions/git_dirty.fish
  53. +0 โˆ’7 fish/functions/git_dirty_files_count.fish
  54. +0 โˆ’3 fish/functions/git_parse_branch.fish
  55. +0 โˆ’4 fish/functions/gl.fish
  56. +0 โˆ’3 fish/functions/glc.fish
  57. +0 โˆ’3 fish/functions/glcg.fish
  58. +0 โˆ’4 fish/functions/glg.fish
  59. +0 โˆ’8 fish/functions/glp.fish
  60. +0 โˆ’4 fish/functions/gp.fish
  61. +0 โˆ’4 fish/functions/gps.fish
  62. +0 โˆ’3 fish/functions/gst.fish
  63. +0 โˆ’6 fish/functions/is_git_repo.fish
  64. +0 โˆ’5 fish/functions/jod.fish
  65. +0 โˆ’5 fish/functions/log.fish
  66. +0 โˆ’6 fish/functions/m.fish
  67. +0 โˆ’3 fish/functions/method_missing.fish
  68. +0 โˆ’5 fish/functions/migrate.fish
  69. +0 โˆ’4 fish/functions/migration.fish
  70. +0 โˆ’3 fish/functions/mysqlbackup.fish
  71. +0 โˆ’4 fish/functions/netpid.fish
  72. +0 โˆ’4 fish/functions/new_function.fish
  73. +0 โˆ’4 fish/functions/pubkey.fish
  74. +0 โˆ’5 fish/functions/qwerty.fish
  75. +0 โˆ’4 fish/functions/r.fish
  76. +0 โˆ’12 fish/functions/rcd.fish
  77. +0 โˆ’24 fish/functions/rdir.fish
  78. +0 โˆ’5 fish/functions/reload_webkit.fish
  79. +0 โˆ’5 fish/functions/restart_passenger_app.fish
  80. +0 โˆ’12 fish/functions/rmate.fish
  81. +0 โˆ’3 fish/functions/rmempty.fish
  82. +0 โˆ’4 fish/functions/rollback.fish
  83. +0 โˆ’16 fish/functions/s.fish
  84. +0 โˆ’3 fish/functions/save.fish
  85. +0 โˆ’5 fish/functions/sc.fish
  86. +0 โˆ’6 fish/functions/soffice.fish
  87. +0 โˆ’5 fish/functions/ss.fish
  88. +0 โˆ’4 fish/functions/telefrag.fish
  89. +0 โˆ’3 fish/functions/tigs.fish
  90. +0 โˆ’3 fish/functions/vi.fish
  91. +1 โˆ’0 zsh/lib/history-substring-search
  92. +1 โˆ’0 zsh/lib/syntax-highlighting
View
@@ -1,7 +1,4 @@
.netrwhist
-fish/fish_history
-fish/fish_read_history
-fish/fishd.*
.rake_tasks
Transmission Remote GUI
vim/bundle/*
View
@@ -0,0 +1,6 @@
+[submodule "zsh/lib/syntax-highlighting"]
+ path = zsh/lib/syntax-highlighting
+ url = http://github.com/zsh-users/zsh-syntax-highlighting.git
+[submodule "zsh/lib/history-substring-search"]
+ path = zsh/lib/history-substring-search
+ url = https://github.com/zsh-users/zsh-history-substring-search.git
View
@@ -1,10 +0,0 @@
-#!/usr/bin/env ruby
-require 'rubygems'
-
-if ARGV.first == '-l' || ARGV.first == '--list'
- puts Gem.cache.map{ |s| s[1].name }.uniq.sort.join( "\n" )
-else
- gem_name = ARGV.first
- gem_info = Gem.cache.search( gem_name ).first
- system "mate #{gem_info.full_gem_path}"
-end
View
@@ -1,12 +0,0 @@
-#!/usr/bin/env ruby
-require 'rubygems'
-
-
-if ARGV.first == '-l' || ARGV.first == '--list'
- puts Gem.cache.map{ |s| s[1].name }.uniq.sort.join( "\n" )
-else
- gem_name = ARGV.first
- gem_info = Gem.cache.search( gem_name ).first
- doc_file = File.join( gem_info.full_gem_path.gsub(/1\.8\/gems/, "1.8/doc"), 'rdoc/index.html' )
- system "open #{doc_file}"
-end
View
@@ -1,15 +0,0 @@
-#!/usr/bin/env ruby
-
-exit(1) unless ARGV[0] && File.exist?(ARGV[0])
-
-require 'yaml'
-
-dbs = YAML.load_file(ARGV[0]).collect do |name,info|
- adapter = info['adapter'] || info[:adapter]
- db = info['database'] || info[:database]
- [adapter,db]
-end.uniq.each do |(adapter,db)|
- puts "%s\t%s" % [adapter, db]
-end
-
-exit 0
View
@@ -1,3 +0,0 @@
-#!/bin/bash
-. ~/.rvm/scripts/rvm
-rvm $@
View
@@ -1,13 +0,0 @@
-function __cache_or_get_cap_completion -d "Create cap completions"
- mkdir -p "/tmp/cap_completion_cache"
- set -l hashed_pwd (md5 -q -s (pwd))
- set -l cap_cache_file "/tmp/cap_completion_cache/$hashed_pwd"
-
- if not test -f "$cap_cache_file"
- cap -T 2>&1 | grep "^cap" |cut -d " " -f 2 > "$cap_cache_file"
- end
-
- cat "$cap_cache_file"
-end
-
-complete -x -c cap -a "(__cache_or_get_cap_completion)" --description 'Capistrano task'
@@ -1,5 +0,0 @@
-function __gem_names
- gem list --no-versions | grep -v '*'
-end
-
-complete -x -c cdgem -d 'gem name' -a "(__gem_names)"
@@ -1 +0,0 @@
-complete -x -c createdb -d 'database name' -a "(__db_list_pg | uniq)"
@@ -1 +0,0 @@
-complete -c cucumber -a "(ls features | sort | grep -vE \"^_\")"
@@ -1 +0,0 @@
-complete -x -c dropdb -d 'database name' -a "(__db_list_pg | uniq)"
@@ -1,3 +0,0 @@
-complete -x -c edit_gem -a '(edit_gem --list)' --description 'Ruby Gem'
-complete -c edit_gem -s l -l list --description "List installed gems"
-
@@ -1,3 +0,0 @@
-complete -x -c gem_doc -a '(gem_doc --list)' --description 'Ruby Gem'
-complete -c gem_doc -s l -l list --description "List installed gems"
-
@@ -1,16 +0,0 @@
-complete -c git-svn -a clone -d "Initialize and fetch revisions"
-complete -c git-svn -a commit-diff -d "Commit a diff between two trees"
-complete -c git-svn -a create-ignore -d "Create a .gitignore per svn:ignore"
-complete -c git-svn -a dcommit -d "Commit several diffs to merge with upstream"
-complete -c git-svn -a fetch -d "Download new revisions from Subversion"
-complete -c git-svn -a find-rev -d "Translate between Subversion revision numbers and tree-ish"
-complete -c git-svn -a info -d "Show info about the latest Subversion revision"
-complete -c git-svn -a init -d "Initialize a repo for tracking (requires URL argument)"
-complete -c git-svn -a log -d "Show commit logs"
-complete -c git-svn -a migrate -d "Migrate configuration/metadata/layout from previous versions of git-svn"
-complete -c git-svn -a propget -d "Print the value of a property on a file or directory"
-complete -c git-svn -a proplist -d "List all properties of a file or directory"
-complete -c git-svn -a rebase -d "Fetch and rebase your working directory"
-complete -c git-svn -a set-tree -d "Set a Subversion repository to a git tree-ish"
-complete -c git-svn -a show-externals -d "Show svn:externals listings"
-complete -c git-svn -a show-ignore -d "Show svn:ignore listings"
View
@@ -1,226 +0,0 @@
-# fish completion for git
-
-function __fish_git_branches
- git branch --no-color -a 2>/dev/null | sed 's/^..//'
-end
-
-function __fish_git_tags
- git tag
-end
-
-function __fish_git_heads
- __fish_git_branches
- __fish_git_tags
-end
-
-function __fish_git_remotes
- git remote
-end
-
-function __fish_git_ranges
- set from (commandline -ot | perl -ne 'my @parts = split(/\.\./); print $parts[0]')
- set to (commandline -ot | perl -ne 'my @parts = split(/\.\./); print $parts[1]')
- if [ "$from" = "" ]
- __fish_git_branches
- return 0
- end
-
- for from_ref in (__fish_git_heads | grep -e "$from")
- for to_ref in (__fish_git_heads | grep -e "$to")
- printf "%s..%s\n" $from_ref $to_ref
- end
- end
-end
-
-function __fish_git_needs_command
- set cmd (commandline -opc)
- if [ (count $cmd) -eq 1 -a $cmd[1] = 'git' ]
- return 0
- end
- return 1
-end
-
-function __fish_git_using_command
- set cmd (commandline -opc)
- if [ (count $cmd) -gt 1 ]
- if [ $argv[1] = $cmd[2] ]
- return 0
- end
- end
- return 1
-end
-
-# general options
-complete -f -c git -n 'not __fish_git_needs_command' -l help -d 'Display the manual of a git command'
-
-#### fetch
-complete -f -c git -n '__fish_git_needs_command' -a fetch -d 'Download objects and refs from another repository'
-complete -f -c git -n '__fish_git_using_command fetch' -a '(__fish_git_remotes)' -d 'Remote'
-complete -f -c git -n '__fish_git_using_command fetch' -s q -l quiet -d 'Be quiet'
-complete -f -c git -n '__fish_git_using_command fetch' -s v -l verbose -d 'Be verbose'
-complete -f -c git -n '__fish_git_using_command fetch' -s a -l append -d 'Append ref names and object names'
-# TODO --upload-pack
-complete -f -c git -n '__fish_git_using_command fetch' -s f -l force -d 'Force update of local branches'
-# TODO other options
-
-### remote
-complete -f -c git -n '__fish_git_needs_command' -a remote -d 'Manage set of tracked repositories'
-complete -f -c git -n '__fish_git_using_command remote' -a '(__fish_git_remotes)'
-complete -f -c git -n '__fish_git_using_command remote' -s v -l verbose -d 'Be verbose'
-complete -f -c git -n '__fish_git_using_command remote' -a add -d 'Adds a new remote'
-complete -f -c git -n '__fish_git_using_command remote' -a rm -d 'Removes a remote'
-complete -f -c git -n '__fish_git_using_command remote' -a show -d 'Shows a remote'
-complete -f -c git -n '__fish_git_using_command remote' -a prune -d 'Deletes all stale tracking branches'
-complete -f -c git -n '__fish_git_using_command remote' -a update -d 'Fetches updates'
-# TODO options
-
-### show
-complete -f -c git -n '__fish_git_needs_command' -a show -d 'Shows the last commit of a branch'
-complete -f -c git -n '__fish_git_using_command show' -a '(__fish_git_branches)' -d 'Branch'
-# TODO options
-
-### show-branch
-complete -f -c git -n '__fish_git_needs_command' -a show-branch -d 'Shows the commits on branches'
-complete -f -c git -n '__fish_git_using_command show-branch' -a '(__fish_git_heads)' --description 'Branch'
-# TODO options
-
-### add
-complete -c git -n '__fish_git_needs_command' -a add -d 'Add file contents to the index'
-# TODO options
-
-### checkout
-complete -f -c git -n '__fish_git_needs_command' -a checkout -d 'Checkout and switch to a branch'
-complete -c git -n '__fish_git_using_command checkout' -a '(__fish_git_branches)' --description 'Branch'
-complete -c git -n '__fish_git_using_command checkout' -a '(__fish_git_tags)' --description 'Tag'
-complete -c git -n '__fish_git_using_command checkout' -s b -d 'Create a new branch'
-# TODO options
-
-### apply
-complete -f -c git -n '__fish_git_needs_command' -a apply -d 'Apply a patch on a git index file and a working tree'
-# TODO options
-
-### archive
-complete -f -c git -n '__fish_git_needs_command' -a archive -d 'Create an archive of files from a named tree'
-# TODO options
-
-### bisect
-complete -f -c git -n '__fish_git_needs_command' -a bisect -d 'Find the change that introduced a bug by binary search'
-# TODO options
-
-### branch
-complete -f -c git -n '__fish_git_needs_command' -a branch -d 'List, create, or delete branches'
-complete -f -c git -n '__fish_git_using_command branch' -a '(__fish_git_branches)' -d 'Branch'
-complete -f -c git -n '__fish_git_using_command branch' -s d -d 'Delete Branch'
-complete -f -c git -n '__fish_git_using_command branch' -s D -d 'Force deletion of branch'
-complete -f -c git -n '__fish_git_using_command branch' -s m -d 'Rename branch'
-complete -f -c git -n '__fish_git_using_command branch' -s M -d 'Force renaming branch'
-complete -f -c git -n '__fish_git_using_command branch' -s a -d 'Lists both local and remote branches'
-
-### cherry-pick
-complete -f -c git -n '__fish_git_needs_command' -a cherry-pick -d 'Apply the change introduced by an existing commit'
-complete -f -c git -n '__fish_git_using_command cherry-pick' -a '(__fish_git_branches)' -d 'Branch'
-# TODO options
-
-### clone
-complete -f -c git -n '__fish_git_needs_command' -a clone -d 'Clone a repository into a new directory'
-# TODO options
-
-### commit
-complete -c git -n '__fish_git_needs_command' -a commit -d 'Record changes to the repository'
-complete -c git -n '__fish_git_using_command commit' -l amend -d 'Amend the log message of the last commit'
-# TODO options
-
-### diff
-complete -c git -n '__fish_git_needs_command' -a diff -d 'Show changes between commits, commit and working tree, etc'
-complete -c git -n '__fish_git_using_command diff' -a '(__fish_git_ranges)' -d 'Branch'
-complete -c git -n '__fish_git_using_command diff' -l cached -d 'Show diff of changes in the index'
-# TODO options
-
-### grep
-complete -c git -n '__fish_git_needs_command' -a grep -d 'Print lines matching a pattern'
-# TODO options
-
-### init
-complete -f -c git -n '__fish_git_needs_command' -a init -d 'Create an empty git repository or reinitialize an existing one'
-# TODO options
-
-### log
-complete -c git -n '__fish_git_needs_command' -a log -d 'Show commit logs'
-complete -c git -n '__fish_git_using_command log' -a '(__fish_git_heads) (__fish_git_ranges)' -d 'Branch'
-complete -f -c git -n '__fish_git_using_command log' -l pretty -a 'oneline short medium full fuller email raw format:'
-# TODO options
-
-### merge
-complete -f -c git -n '__fish_git_needs_command' -a merge -d 'Join two or more development histories together'
-complete -f -c git -n '__fish_git_using_command merge' -a '(__fish_git_branches)' -d 'Branch'
-complete -f -c git -n '__fish_git_using_command merge' -l commit -d "Autocommit the merge"
-complete -f -c git -n '__fish_git_using_command merge' -l no-commit -d "Don't autocommit the merge"
-complete -f -c git -n '__fish_git_using_command merge' -l stat -d "Show diffstat of the merge"
-complete -f -c git -n '__fish_git_using_command merge' -s n -l no-stat -d "Don't show diffstat of the merge"
-complete -f -c git -n '__fish_git_using_command merge' -l squash -d "Squash changes from other branch as a single commit"
-complete -f -c git -n '__fish_git_using_command merge' -l no-squash -d "Don't squash changes"
-complete -f -c git -n '__fish_git_using_command merge' -l ff -d "Don't generate a merge commit if merge is fast forward"
-complete -f -c git -n '__fish_git_using_command merge' -l no-ff -d "Generate a merge commit even if merge is fast forward"
-
-# TODO options
-
-### mv
-complete -c git -n '__fish_git_needs_command' -a mv -d 'Move or rename a file, a directory, or a symlink'
-# TODO options
-
-### prune
-complete -f -c git -n '__fish_git_needs_command' -a prune -d 'Prune all unreachable objects from the object database'
-# TODO options
-
-### pull
-complete -f -c git -n '__fish_git_needs_command' -a pull -d 'Fetch from and merge with another repository or a local branch'
-# TODO options
-
-### push
-complete -f -c git -n '__fish_git_needs_command' -a push -d 'Update remote refs along with associated objects'
-# TODO options
-
-### rebase
-complete -f -c git -n '__fish_git_needs_command' -a rebase -d 'Forward-port local commits to the updated upstream head'
-complete -f -c git -n '__fish_git_using_command rebase' -a '(__fish_git_branches)' -d 'Branch'
-# TODO options
-
-### reset
-complete -c git -n '__fish_git_needs_command' -a reset -d 'Reset current HEAD to the specified state'
-complete -f -c git -n '__fish_git_using_command reset' -l hard -d 'Reset files in working directory'
-complete -c git -n '__fish_git_using_command reset' -a '(__fish_git_branches)'
-# TODO options
-
-### revert
-complete -f -c git -n '__fish_git_needs_command' -a revert -d 'Revert an existing commit'
-# TODO options
-
-### rm
-complete -c git -n '__fish_git_needs_command' -a rm -d 'Remove files from the working tree and from the index'
-# TODO options
-
-### status
-complete -f -c git -n '__fish_git_needs_command' -a status -d 'Show the working tree status'
-# TODO options
-
-### tag
-complete -f -c git -n '__fish_git_needs_command' -a tag -d 'Create, list, delete or verify a tag object signed with GPG'
-complete -f -c git -n '__fish_git_using_command tag; and __fish_not_contain_opt -s d; and __fish_not_contain_opt -s v; and test (count (commandline -opc | grep -v -e \'^-\')) -eq 3' -a '(__fish_git_branches)' -d 'Branch'
-complete -f -c git -n '__fish_git_using_command tag' -s d -d 'Remove a tag'
-complete -f -c git -n '__fish_git_using_command tag' -s v -d 'Verify signature of a tag'
-complete -f -c git -n '__fish_git_using_command tag' -s f -d 'Force overwriting exising tag'
-complete -f -c git -n '__fish_git_using_command tag' -s s -d 'Make a GPG-signed tag'
-complete -f -c git -n '__fish_contains_opt -s d' -a '(__fish_git_tags)' -d 'Tag'
-complete -f -c git -n '__fish_contains_opt -s v' -a '(__fish_git_tags)' -d 'Tag'
-# TODO options
-
-### config
-complete -f -c git -n '__fish_git_needs_command' -a config -d 'Set and read git configuration variables'
-# TODO options
-
-### format-patch
-complete -f -c git -n '__fish_git_needs_command' -a format-patch -d 'Generate patch series to send upstream'
-complete -f -c git -n '__fish_git_using_command format-patch' -a '(__fish_git_branches)' -d 'Branch'
-
-### aliases (custom user-definer commands)
-complete -c git -n '__fish_git_needs_command' -a '(git config --get-regexp alias | sed -e "s/^alias\.\(\S\+\).*/\1/")' -d 'Alias (user-defined command)'
@@ -1 +0,0 @@
-complete -x -c pg_dump -d postgres -a "(__db_list_pg | uniq)"
@@ -1 +0,0 @@
-complete -x -c psql -d 'database name' -a "(__db_list_pg | uniq)"
View
@@ -1,13 +0,0 @@
-function __cache_or_get_rake_completion -d "Create rake completions"
- mkdir -p "/tmp/rake_completion_cache_for_$USER"
- set -l hashed_pwd (md5 -q -s (pwd))
- set -l rake_cache_file "/tmp/rake_completion_cache_for_$USER/$hashed_pwd"
-
- if not test -f "$rake_cache_file"
- rake -T 2>&1 | sed -e "/^(/d" -e "s/^rake \([a-z:_0-9!\-]*\).*/\1/" > "$rake_cache_file"
- end
-
- cat "$rake_cache_file"
-end
-
-complete -x -c rake -a "(__cache_or_get_rake_completion)" --description 'Rake Task'
@@ -1 +0,0 @@
-complete -x -c rcd -a '(rdir | sed -e "s/\/.*\///g")' --description 'Rails Project'
@@ -1 +0,0 @@
-complete -x -c rmate -a '(rdir | sed -e "s/\/.*\///g")' --description 'Rails Project'
Oops, something went wrong.

0 comments on commit b2a77d3

Please sign in to comment.