Skip to content

mTvare6/coxide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coxide

coxide keeps track of the directories you used frequently and change directory using a shell function(reason explained later)

This is in very alpha stage because I haven't done enough testing, if there is any bug please report

Building

make

Installing

make install

Usage

Run eval

o ../../etc/xdg
o dg # automatically cds to /etc/xdg
o - # alias to popd

Adding the o alias to chdir

To start using coxide, add it to your shell.

Bash

Add this to your configuration (usually ~/.bashrc):

eval "$(coxide shell bash)"
Elvish(not tested)

Add this to your configuration (usually ~/.elvish/rc.elv):

eval (coxide shell elvish | slurp)
Fish

Add this to your configuration (usually ~/.config/fish/config.fish):

coxide shell fish | source
Powershell(not tested)

Add this to your configuration (find it by running echo $profile in PowerShell):

Invoke-Expression (& {
    $hook = if ($PSVersionTable.PSVersion.Major -lt 6) { 'prompt' } else { 'pwd' }
    (coxide shell powershell) -join "`n"
})
xonsh(not tested)

Add this to your configuration (usually ~/.xonshrc):

execx($(coxide shell xonsh), 'exec', __xonsh__.ctx, filename='coxide')
zsh

Add this to your configuration (usually ~/.zshrc):

eval "$(coxide shell zsh)"
most posix shells(tested on dash)

Add this to your configuration:

eval "$(coxide shell sh)"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published