mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
Fix some Ruby stuff
This commit is contained in:
parent
f73e13ffeb
commit
70b4d2d257
6 changed files with 30 additions and 5 deletions
2
shell/kd
2
shell/kd
|
|
@ -7,7 +7,7 @@ function kd() {
|
|||
if [[ $# -eq 0 ]]; then
|
||||
local candidate="$PWD"
|
||||
while [[ -n "$candidate" ]]; do
|
||||
for file in Gemfile Procfile .git; do
|
||||
for file in Gemfile .git; do
|
||||
if [[ -e "$candidate/$file" ]]; then
|
||||
if [[ -t 1 ]]; then
|
||||
cd "$candidate" || return 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue