gazorby / fish-exa Goto Github PK
View Code? Open in Web Editor NEW:fish: exa aliases for fish
License: MIT License
:fish: exa aliases for fish
License: MIT License
I would like to set options for the l
alias. It can be useful for showing hidden files by default for example.
Line 69 in 19cc781
We should only erase private variables prefixed with _
.
What do you think?
It appears lt
alias doesn't work:
$ lt 2
"2": No such file or directory (os error 2)
While exa --long --all --group --header --tree --level 2
works fine.
I'm new to the fish/fisher ecosystem, and have a newbie question:
If I install this, I should have access to the aliases without additional configuration; correct?
If I don't, why might that be?
After having installed fish-exa using fisher running a "fisher update" will remove the aliases (e.g. ll) for that shell. This only affects the shell that ran the update command - closing and reopening fixes the issue.
Might just need the aliases at the top of the conf/fish-exa.fish file to be pulled into the install function, but there may have been a reason for it being outside :)
As in the title
I have noticed some mistakes in the default set of options, listed below.
We should update them if you agree. Documentation to exa.
EXA_LD_OPTIONS
--list-dirs
--only-dirs
instead of --list-dirs
--list-dirs
does not list all directories. I only see the .
directory.
EXA_STANDARD_OPTIONS
--long --all --group --header
--all --long
Both --all
should be part of la
and --long
of ll
respectively. Otherwise they do not behave any differently.
With standard options we want it to behave like a standard ls
/exa
with minor or common shared UX improvements arguments.
EXA_LE_OPTIONS
will need to updated to include --long
if we update standard options.
It depends on peoples preferences so there is a reason to keep the default options shipped with this plugin to be as little as possible and generally accepted by majority.
Here are some of these options:
--group-directories-first
Useful as it adds another layer of sortingEXA_LL_OPTIONS
--long
Once we remove this from standard options we will require it here for long output. This seems more appropriate for the option.
EXA_LA_OPTIONS
--binary --links --inode --blocks
--all
Once we remove --all
we need to add it here to show all files for this command.
It include some options that can be removed as they're not commonly used:
--inode
: Barely anyone looks at the inode number for a file--blocks
: Human readable file size is already shown, so it's arguable how much this adds.--links
: Most people might not even what this is supposed to mean.EXA_LG_OPTIONS
--git
--git-ignore
When you want to list files in a git repo, you need --git-ignore
; otherwise you can use any of the other options to list all files.
--git
only works with --long
option so if we remove it from standard options we need to add it here too. Though that can also be left for user to decide.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.