Giter Club home page Giter Club logo

fizsh's People

Contributors

dr4ik avatar guidovansteen avatar nicoulaj avatar wdkrnls avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fizsh's Issues

Adding current Github repo status

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

Creating fizsh files from ansible

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?

Cannot modify install location of /etc/fizsh

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]%

Fizsh cannot be used as login shell due to missing PATH

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.

Changing and/or removing the welcome message?

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

Changing prompt character in fizsh

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!

How to add `ls alias` for `fizsh` ?

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

Doesn't compatiable with vim's quickfix.

Reproduce the problem:

  1. create a illegal c++ source file.

    $ echo "int main() { illegal c++ program. }" > a.cpp
  2. write a makefile for it

    $ echo -e "all:\n\tg++ a.cpp" > makefile
  3. execute :make in vim

    $ vim -e "make"

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.

Proot-distro alias of Arch Linux in Termux

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?

`cp: cannot stat` messages when trying to run fizsh

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.