Skip to content

Added chain.remove to remove a specific item by index from the chain#16

Open
faluciano wants to merge 2 commits into
oh-my-fish:masterfrom
faluciano:chain_delete_at
Open

Added chain.remove to remove a specific item by index from the chain#16
faluciano wants to merge 2 commits into
oh-my-fish:masterfrom
faluciano:chain_delete_at

Conversation

@faluciano

Copy link
Copy Markdown
Contributor

Removes an item from the chain by index

example:

if chain_links is:
chain.links.root chain.links.jobs chain.links.pwd chain.links.vcs_branch chain.links.vcs_dirty chain.links.vcs_stashed

chain.remove 2

Removes chain.links.jobs from the chain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant