Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add ls alias for fizsh ? #22

Open
jiapei100 opened this issue Jul 19, 2023 · 1 comment
Open

How to add ls alias for fizsh ? #22

jiapei100 opened this issue Jul 19, 2023 · 1 comment

Comments

@jiapei100
Copy link

Happened to come across fizsh and would like to have a try...
How can I add some ls alias for fizsh?

# some more ls aliases
alias ll='ls -l'
alias la='ls -A'
alias l='ls -CF'

And, is it possible to source .bashrc FIRST before loading .fizsh ??

Cheers

@guidovansteen
Copy link
Member

guidovansteen commented Jul 19, 2023

You could start your ~/.fizshrc file by sourcing another file, for instance like this:

source /path/to/.bashrc

However, fizsh is based on zsh (and not on bash). So, your /path/to/.bashrc should not contain zsh incompatible code.

I would therefore directly define my aliases in my ~/.fizshrc file.

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

No branches or pull requests

2 participants