zsh-users / fizsh Goto Github PK
View Code? Open in Web Editor NEWFriendly Interactive ZSHell.
License: Other
Friendly Interactive ZSHell.
License: Other
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
Tried adding something like this:
function fish_prompt
set -l git_branch (git branch ^/dev/null | sed -n '/\* /s///p')
echo -n (whoami)'@'(hostname)':'(prompt_pwd)'{'"$git_branch"'} $ '
end
I had a lot of problems with the installation structions for Arch. I ended up going through the repository to ascertain the package dependencies to install them manually as pacman couldn't seem to get the job done. Also, I can't still execute makepkg —si
, output says that dependencies cannot be met. As the script is quite old, do we know what the current Arch dependencies are?
When using fizsh as login shell, PATH is not set and fails:
[user@host ~]# ssh user@localhost
user@localhost's password:
Last login: Thu Jan 8 10:24:00 2015 from localhost.localdomain
_fizsh: Make sure that fizsh is installed correctly and that your path is set accordingly
I solved this by sourcing /etc/zsh/zprofile in /usr/local/bin/fizsh before $(type fizsh), but I am unsure if this is the correct solution. Should zprofile be sourced every time?
I am running current Arch Linux, zsh version 5.0.7, fizsh version 1.0.8.
The last release was in 2014 yet the latest commit is from 2016
Reproduce the problem:
vim should jump to a.cpp and report errors. It works in bash, zsh or fish. However in fizsh, vim reports "No errors" and doesn't jump to a.cpp.
I tried in several environments (and disabled all vim's plugins):
debian 7.0, vim 7.3-547, fizsh 1.0.2, xterm 278 with dwm 6.0
archlinux, vim 7.3-798, fizsh 1.0.5, xterm 298/tty, dwm 6.0/xfce4
A funny thing is if current shell is fizsh, even if I switch to bash ($ bash), or open a new virtual terminal ($ xterm -e bash), vim's quickfix still doesn't work.
I'm having a little difficulty changing and/or removing the welcome message:
welcome to fizsh, the friendly interactive zshell
type man fizsh for instructions on how to use fizsh
Could you tell me how to go about changing it? I have already tried changing and removing it from ~/.fizsh/fizsh
to no avail.
In case it makes any difference, here's what I would like it to say as a reminder to myself about my aliases:
################################################
#
# Print the welcome message
#
function _fizsh-welcome-message () {
echo 'Fizsh - The Friendly Interactive Zsh-Shell'
echo -e 'type \033[03;32mleaf $HOME/.fizsh/.fizshrch\033[00m or simply \033[03;32mevz\033[00m to add/remove/update aliases'
}
################################################
Thanks a lot!
~ Ev
https://www.reddit.com/r/linux/comments/2v8rv2/move_your_config_files_to_xdg_config_home/
Just like python:
.local/share
is the XDG_DATA_DIR default, but python's local installs go in.local/lib/python-$MAJOR.$MINOR/
and.local/bin/
else it blows up users' home directory...
Despite changing my install prefix and system config directory, make install
still attempts to install files to /etc
:
[birdsnest ~/local/src/fizsh/fizsh-dev](master|✔)[I]% ./configure --prefix=$HOME/local/fizsh --sysconfdir=$HOME/local/fizsh/etc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating examples/Makefile
config.status: creating man/Makefile
config.status: creating scripts/Makefile
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating examples/Makefile
config.status: creating man/Makefile
config.status: creating scripts/Makefile
[birdsnest ~/local/src/fizsh/fizsh-dev](master|✔)[I]% make && make install
Making all in src
make[1]: Entering directory '/home/hendrenj/local/src/fizsh/fizsh-dev/src'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/hendrenj/local/src/fizsh/fizsh-dev/src'
Making all in doc
make[1]: Entering directory '/home/hendrenj/local/src/fizsh/fizsh-dev/doc'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/hendrenj/local/src/fizsh/fizsh-dev/doc'
Making all in examples
make[1]: Entering directory '/home/hendrenj/local/src/fizsh/fizsh-dev/examples'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/hendrenj/local/src/fizsh/fizsh-dev/examples'
Making all in man
make[1]: Entering directory '/home/hendrenj/local/src/fizsh/fizsh-dev/man'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/hendrenj/local/src/fizsh/fizsh-dev/man'
Making all in scripts
make[1]: Entering directory '/home/hendrenj/local/src/fizsh/fizsh-dev/scripts'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/hendrenj/local/src/fizsh/fizsh-dev/scripts'
make[1]: Entering directory '/home/hendrenj/local/src/fizsh/fizsh-dev'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/home/hendrenj/local/src/fizsh/fizsh-dev'
Making install in src
make[1]: Entering directory '/home/hendrenj/local/src/fizsh/fizsh-dev/src'
make[2]: Entering directory '/home/hendrenj/local/src/fizsh/fizsh-dev/src'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/hendrenj/local/src/fizsh/fizsh-dev/src'
make[1]: Leaving directory '/home/hendrenj/local/src/fizsh/fizsh-dev/src'
Making install in doc
make[1]: Entering directory '/home/hendrenj/local/src/fizsh/fizsh-dev/doc'
make[2]: Entering directory '/home/hendrenj/local/src/fizsh/fizsh-dev/doc'
make[2]: Nothing to be done for 'install-exec-am'.
test -z "/home/hendrenj/local/fizsh/share/doc/fizsh" || /usr/bin/mkdir -p "/home/hendrenj/local/fizsh/share/doc/fizsh"
/usr/bin/install -c -m 644 copyright changelog '/home/hendrenj/local/fizsh/share/doc/fizsh'
make[2]: Leaving directory '/home/hendrenj/local/src/fizsh/fizsh-dev/doc'
make[1]: Leaving directory '/home/hendrenj/local/src/fizsh/fizsh-dev/doc'
Making install in examples
make[1]: Entering directory '/home/hendrenj/local/src/fizsh/fizsh-dev/examples'
make[2]: Entering directory '/home/hendrenj/local/src/fizsh/fizsh-dev/examples'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/hendrenj/local/src/fizsh/fizsh-dev/examples'
make[1]: Leaving directory '/home/hendrenj/local/src/fizsh/fizsh-dev/examples'
Making install in man
make[1]: Entering directory '/home/hendrenj/local/src/fizsh/fizsh-dev/man'
make[2]: Entering directory '/home/hendrenj/local/src/fizsh/fizsh-dev/man'
make[2]: Nothing to be done for 'install-exec-am'.
test -z "/home/hendrenj/local/fizsh/share/man/man1" || /usr/bin/mkdir -p "/home/hendrenj/local/fizsh/share/man/man1"
/usr/bin/install -c -m 644 fizsh.1 '/home/hendrenj/local/fizsh/share/man/man1'
make[2]: Leaving directory '/home/hendrenj/local/src/fizsh/fizsh-dev/man'
make[1]: Leaving directory '/home/hendrenj/local/src/fizsh/fizsh-dev/man'
Making install in scripts
make[1]: Entering directory '/home/hendrenj/local/src/fizsh/fizsh-dev/scripts'
make[2]: Entering directory '/home/hendrenj/local/src/fizsh/fizsh-dev/scripts'
test -z "/home/hendrenj/local/fizsh/bin" || /usr/bin/mkdir -p "/home/hendrenj/local/fizsh/bin"
/usr/bin/install -c fizsh '/home/hendrenj/local/fizsh/bin'
test -z "/etc/fizsh" || /usr/bin/mkdir -p "/etc/fizsh"
/usr/bin/mkdir: cannot create directory ‘/etc/fizsh’: Permission denied
Makefile:213: recipe for target 'install-scriptSCRIPTS' failed
make[2]: *** [install-scriptSCRIPTS] Error 1
make[2]: Leaving directory '/home/hendrenj/local/src/fizsh/fizsh-dev/scripts'
Makefile:296: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/home/hendrenj/local/src/fizsh/fizsh-dev/scripts'
Makefile:219: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
[birdsnest ~/local/src/fizsh/fizsh-dev](master|✔)[I]%
Thanks!
zsh-syntax-highlighting.zsh fails if "nounset" has been set.
In the ~/.fizsh/fizshrc I have
grml_prompt_token_default[percent]='%(#.#.$) '
which changed the prompt character from % to $ on zsh (grml-zsh-config)
and all it does in fizsh is is delete the % altogether.
I like having the $
there because it reminds me of bash (the shell I used for 5+ years)
Is there another way to change it
I don't really know where else to talk about fizsh, so if there's a more appropriate place for this kind of thing, please link me!
Hi! I'm looking for a way to install fizsh from ansible. For this, I need a way to run fizsh from a script such that it creates the .fizsh
directory with all contents.
How can this be achieved?
/Users/me/fizsh-miscellaneous.zsh:57: no matches found: key[End]}=
is printed when I invoke fizsh. I have fizsh installed via homebrew on OS X El Capitan.
the git code to clone is:
user@localmachine$ git clone [email protected]:zsh-users/fizsh
it generates this error:
Permission denied (publickey).
fatal: Could not read from remote repository.
it should be:
user@localmachine$ git clone https://github.com/zsh-users/fizsh.git
When I try to run fizsh, I get the following output before getting what appears to be a vanilla zsh prompt:
cp: cannot stat '/setc/fizsh/fizsh-prompt.zsh': No such file or directory
cp: cannot stat '/setc/fizsh/zsh-history-substring-search.zsh': No such file or directory
cp: cannot stat '/setc/fizsh/zsh-syntax-highlighting.zsh': No such file or directory
cp: cannot stat '/setc/fizsh/brackets-highlighter.zsh': No such file or directory
cp: cannot stat '/setc/fizsh/cursor-highlighter.zsh': No such file or directory
cp: cannot stat '/setc/fizsh/line-highlighter.zsh': No such file or directory
cp: cannot stat '/setc/fizsh/main-highlighter.zsh': No such file or directory
cp: cannot stat '/setc/fizsh/pattern-highlighter.zsh': No such file or directory
cp: cannot stat '/setc/fizsh/root-highlighter.zsh': No such file or directory
cp: cannot stat '/setc/fizsh/fizsh-miscellaneous.zsh': No such file or directory
cp: cannot stat '/setc/fizsh/fizshrc.zsh': No such file or directory
I use the Sway edition of EndeavourOS and I installed fizsh using the fizsh-git AUR package.
are you plan to support auto suggestion?
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.