GithubHelp home page GithubHelp logo

dotfiles's Issues

Cleaning history since last update

Hi,

Since the last update after every boot it remove the history which is really annoying because commands that you mostly used can't be found anymore with CTRL+R so you have to retype them every time because it's history only keeps 15 lines.

How can i fix this ?

Thanks,

Thoughts on autocomplete and tab complete

Some thoughts

  • Tab complete is broken on macOS. On linux, you are able to expand cd d/s/p <tab> to cd documents/SAP/presentations. Not the case in macOS. Might be due to the cd alias stuff we have going on.

  • Accepting suggestions from the history is unintuitive. The separation between historical suggestions, and context based ones is useful, but hard to understand without an explicit explanation.

  • So it should certainly not offer a historical suggestion that contains a relative path if the pwd's are different.

  • A command might implicitly also take a relative path. npm run serve for example implicitly depends on the existence of not only a package.json in the pwd, but also the existence of package.json.scripts.serve.

  • Could machine learning infer these relationships?

Long Loading Times?

Hi. I'm using WSL on Windows. I noticed that zsh takes relatively more time to load than bash. Is this because of the dotfiles?

[~, 12s]: time zsh -i -c exit
Updating configuration
zsh -i -c exit  0.06s user 0.38s system 44% cpu 0.977 total

Report says 0.977 sec total, but I think I'm watching Updating configuration like 3 seconds on start-up.

I read that oh-my-zsh is to blame for bad zsh performance.

Pending tasks for deploy

  • Our messages should be colored. Does the terminal support color?
  • Should use this instead of current confirmation because: currently user can't interrupt. also should user to type, backspace, then enter whenever
  • Autoconfirm brew, and pkg install scripts.
  • Show summary of what's going to happen

oh-my-zsh?

Hi Parth,

First, thank you for sharing your dotfiles. Awesome stuff. I'm kinda hacking around and wanted to know how easy or difficult it'd be to integrate with oh-my-zsh? I was missing some shortcuts that I'm used to but then realized they probably weren't native zsh and part of omz. I was going to copy some things over into dotfiles/zsh but wanted to ask about it first.

Thanks again!

Zsh Plugins not downloaded

Hi folks,

I cloned the repo, ran the deploy script, logged out and in again. But I see errors that the zsh plugins cannot be sources since those files / folders don't exist locally. In particular, these folders don't have any content:
~/dotfiles/zsh/plugins/oh-my-zsh/
~/dotfiles/zsh/plugins/zsh-autosuggestions/
~/dotfiles/zsh/plugins/zsh-syntax-highlighting

I manaed to manually clone those three repos and get everything working but I wanted to know what I was doing wrong?

Updating ZSH_THEME= has no effect

Looking into the zshrc.zsh-template file and setting the theme parameter has no effect on the theme used for the terminal. Traditionally to update the zhs_theme you would edit the ~/.zshrc file, which is now just pointing source '/dotfiles/zsh/zshrc_manager.sh'.

Let me know if I am looking in the wrong place!
Thanks.

Upgraded to ubuntu 20

Hi,

I've updated to ubuntu 20 and my terminal keeps crashing after some digging i've i changed my
.zshrc

  • source '/home/danny/dotfiles/zsh/zshrc_manager.sh'
  • #source '/home/danny/dotfiles/zsh/zshrc_manager.sh'

When i open up my terminal it worked again.

To test this i've created the following test:
testing.sh

if [[ $? -ne 0 ]]
then
   # handle an error
fi 

When i run this in my terminal i get the following error
./testing.sh: 5: Syntax error: "fi" unexpected

Line 5 is the following line:

time_out () { perl -e 'alarm shift; exec @argv' "$@"; }

Run tmux if exists

if command -v tmux>/dev/null; then
if [ "$DISABLE_TMUX" = "true" ]; then
echo "DISABLE_TMUX=true"
else
[ -z $TMUX ] && exec tmux
fi
else
echo "tmux not installed. Run ./deploy to configure dependencies"
fi

Anyone got an idea already to fix this ?

Alias for reload causes terminal to quit on key press

I'm trying to add a simple alias to allow me to reload the terminal like so:

alias reload="source ~/.zshrc"

This seems to work fine, and reloads the configuration, but when I press a key the terminal tab then quits. Any idea what is going on?

After running ./deploy on Mac and logging out and back in, nothing is working.

macOS Catalina Version 10.15
Cloned repo to my ~ directory. Running ./deploy seems all is working as expected as far the shell script. Closed/Opened a new terminal and nothing is working. Isn't this os independent?

We're going to do the following:
1. Grab dependencies
2. Check to make sure you have zsh, vim, and tmux installed
3. We'll help you install them if you don't
4. We're going to check to see if your default shell is zsh
5. We'll try to change it if it's not
Let's get started? (y/n)

Checking to see if zsh is installed
zsh is installed.

Checking to see if vim is installed
vim is installed.

Checking to see if tmux is installed
tmux is installed.

Default shell is not zsh. Do you want to chsh -s $(which zsh)? (y/n)
Changing shell for rajasleem.
Password for ...: 
chsh: /usr/local/bin/zsh: non-standard shell

Would you like to backup your current dotfiles? (y/n) 
Not backing up old dotfiles.

Please log out and log back in for default shell to be initialized.

virtualenv in prompt

Thanks for this great work!

I found one drawback that the promt does not work with python virtualenv.
E.g.,

$ workon tf
(tf) $            # (tf) is missing

How can I use virtualenv?

In addition, if I want to use standard ZSH_THEME="agnoster", could you advise how/where I can modify?

Deploy script problems

The deploy script uses command -v to figure out if a particular dependency manager is present on the system. This perhaps isn't the best way to answer the question: "which dependency manager to use"

This is problematic as apt is the dependency management tool on Ubuntu, and serves a different purpose in macOS.

Short term I think we can just check for apt-get and use that.

Another consideration to make: should we just be hosting this tool on a dependency management system in the first place? So instead of:

  1. Clone
  2. Deploy
  3. Log out log back

it might be something like:

  1. Apt
    2 Exec

A split command

A binary operator, with 3 cases:

2 commands given in: tmux split and run the commands
2 directories open the split with those two directories
2 files open a vim split.

Key binding for cd

Hi. I really like your idea for remapping cd to cd and then ls, but I'm curious how I can add this functionality directly to my .zshrc. I see in your zshrc.sh script you do

# Custom cd
chpwd() ls

but I'm not sure how to just put the remapped cd into my .zshrc like alias -g cd="<STUFF>".

Could anyone help me figure this out? Thanks in advance!

Ros, iai_kinect2 issues

Hi there,
I see your post
http://robotics.stackexchange.com/questions/6632/ros-iai-kinect2-issues
I have exactly the same problems with you. Have you find a solution?? If you don't mind I have a few question:

  • What is your graphic card Intel or Nvidia? I mean when you go additional drivers which one is selected Xorg thing or any Nvidia like 331, 340, 346, 349 etc?
  • Did you changed anything in "etc/default/grub" like "quite splash" to "quite splash nomodeset"?
  • Did you modified blacklist.conf" file?
  • Did you try Blumlebee or Beignet things?
  • Have you faced with any black screen on reboot?
  • Do you have OpenCL now?
  • Did you lost some random characters on screen due to low graphic speed?

Those are my experiences. I am working with Asus X555LN, intel core i5, Nvidia Geforce 840M, Ubuntu 14.04, Ros indigo, Kinect2 camera. I used to work with Kinect2 but last month something happened I guess during an update or upgrade and then my computer gave me black screen on regular start. I have been dealing with building Ubuntu, installing graphic driver and reinstalling everything.

I think main problem is about Nvidia. It blocks OpenCL, so libfreenect2, so iaiKinect2

If you found a solution please contact me via this issue

Kind regards

how does the sourceing work

hi,
i tried to recreate you ~/dotfiles folder layout.
i cant get to rc files at ~ to work.
they are .chunkwmrc and .skhd files.
is there a special language to know about? i just put source /Users/Finn/dotfiles/chunkwmrc, but it does not work.

cd script isn't doing good

[~/Documents/gemini/web-server, GEM-14198-pm-devicecheck-safetynet]: cd ...
c:cd:1: no such file or directory: ...

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.